Changeset de9c5cb in mainline for boot/arch/arm32/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/arm32/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 \
     
    124126
    125127clean:
    126         -for task in $(RD_TASKS) ; do \
    127                 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` ; \
    128133        done
    129134        -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend
    130135
    131 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) _link.ld.in
    132         for task in $(RD_TASKS) ; do \
    133                 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/ ; \
    134142        done
    135143ifeq ($(RDFMT),tmpfs)
Note: See TracChangeset for help on using the changeset viewer.