Changeset de9c5cb in mainline for boot/arch/mips32/loader/Makefile


Ignore:
Timestamp:
2008-09-14T14:41:31Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6aae7a3b
Parents:
dac629e
Message:

Introduce directories '/app' and '/srv' on ramdisk instead of '/sbin' to mirror source tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/mips32/loader/Makefile

    rdac629e rde9c5cb  
    9797endif
    9898
    99 RD_TASKS = \
     99RD_SRVS = \
    100100        $(USPACEDIR)/srv/fb/fb \
    101101        $(USPACEDIR)/srv/kbd/kbd \
    102102        $(USPACEDIR)/srv/console/console \
    103103        $(USPACEDIR)/srv/fs/tmpfs/tmpfs \
    104         $(USPACEDIR)/srv/fs/fat/fat \
     104        $(USPACEDIR)/srv/fs/fat/fat
     105
     106RD_APPS = \
    105107        $(USPACEDIR)/app/tetris/tetris \
    106108        $(USPACEDIR)/app/tester/tester \
    107109        $(USPACEDIR)/app/bdsh/bdsh \
    108110        $(USPACEDIR)/app/klog/klog
    109 
    110111
    111112OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
     
    125126
    126127clean:
    127         -for task in $(RD_TASKS) ; do \
    128                 rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \
     128        -for file in $(RD_SRVS) ; do \
     129                rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \
     130        done
     131        -for file in $(RD_APPS) ; do \
     132                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    129133        done
    130134        -rm -f _components.h _components.c _link.ld _link.ld.in $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend
    131135
    132 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) _link.ld.in
    133         for task in $(RD_TASKS) ; do \
    134                 cp $$task $(USPACEDIR)/dist/sbin/ ; \
     136_components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_APPS) _link.ld.in
     137        for file in $(RD_SRVS) ; do \
     138                cp $$file $(USPACEDIR)/dist/srv/ ; \
     139        done
     140        for file in $(RD_APPS) ; do \
     141                cp $$file $(USPACEDIR)/dist/app/ ; \
    135142        done
    136143ifeq ($(RDFMT),tmpfs)
Note: See TracChangeset for help on using the changeset viewer.