Ignore:
Timestamp:
2010-03-27T09:22:17Z (16 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36a75a2
Parents:
cd82bb1 (diff), eaf22d4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/loader/Makefile.build

    rcd82bb1 r371bd7d  
    3232
    3333include ../../../../version
     34include ../../../../Makefile.common
    3435include ../../../../Makefile.config
    35 include ../../../../config.defs
    3636include Makefile.common
    3737include Makefile.toolchain
     
    5151        ../../../genarch/division.c
    5252
    53 COMPONENTS = \
    54         $(KERNELDIR)/kernel.bin \
    55         $(USPACEDIR)/srv/ns/ns \
    56         $(USPACEDIR)/srv/loader/loader \
    57         $(USPACEDIR)/app/init/init \
    58         $(USPACEDIR)/srv/devmap/devmap \
    59         $(USPACEDIR)/srv/bd/rd/rd \
    60         $(USPACEDIR)/srv/vfs/vfs
    61 ifeq ($(RDFMT),tmpfs)
    62         COMPONENTS += $(USPACEDIR)/srv/fs/tmpfs/tmpfs
    63 endif
    64 ifeq ($(RDFMT),fat)
    65         COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat
    66 endif
    67 
    6853OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
    6954COMPONENT_OBJECTS := $(addsuffix .co,$(basename $(notdir $(COMPONENTS)))) $(INITRD).co
     
    8065%.o: %.S $(DEPEND)
    8166        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
     67ifeq ($(PRECHECK),y)
     68        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     69endif
    8270
    8371%.o: %.c $(DEPEND)
    8472        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     73ifeq ($(PRECHECK),y)
     74        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     75endif
    8576
    8677$(DEPEND):
     78        rm -f $(USPACEDIR)/dist/srv/*
     79        rm -f $(USPACEDIR)/dist/app/*
     80        rm -f $(USPACEDIR)/dist/cfg/net/*
     81
    8782        for file in $(RD_SRVS) ; do \
    8883                cp $$file $(USPACEDIR)/dist/srv/ ; \
     
    9085        for file in $(RD_APPS) ; do \
    9186                cp $$file $(USPACEDIR)/dist/app/ ; \
     87        done
     88        for file in $(NET_CFG) ; do \
     89                cp $$file $(USPACEDIR)/dist/cfg/net/ ; \
    9290        done
    9391ifeq ($(RDFMT),tmpfs)
Note: See TracChangeset for help on using the changeset viewer.