Changeset de9c5cb in mainline for boot/arch/ppc32/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/ppc32/loader/Makefile

    rdac629e rde9c5cb  
    9292endif
    9393
    94 RD_TASKS = \
     94RD_SRVS = \
    9595        $(USPACEDIR)/srv/fb/fb \
    9696        $(USPACEDIR)/srv/kbd/kbd \
    9797        $(USPACEDIR)/srv/console/console \
    9898        $(USPACEDIR)/srv/fs/tmpfs/tmpfs \
    99         $(USPACEDIR)/srv/fs/fat/fat \
     99        $(USPACEDIR)/srv/fs/fat/fat
     100
     101RD_APPS = \
    100102        $(USPACEDIR)/app/tetris/tetris \
    101103        $(USPACEDIR)/app/tester/tester \
     
    119121
    120122clean:
    121         -for task in $(RD_TASKS) ; do \
    122                 rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \
     123        -for file in $(RD_SRVS) ; do \
     124                rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \
     125        done
     126        -for file in $(RD_APPS) ; do \
     127                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    123128        done
    124129        -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend
    125130
    126 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) _link.ld.in
    127         for task in $(RD_TASKS) ; do \
    128                 cp $$task $(USPACEDIR)/dist/sbin/ ; \
     131_components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_APPS) _link.ld.in
     132        for file in $(RD_SRVS) ; do \
     133                cp $$file $(USPACEDIR)/dist/srv/ ; \
     134        done
     135        for file in $(RD_APPS) ; do \
     136                cp $$file $(USPACEDIR)/dist/app/ ; \
    129137        done
    130138ifeq ($(RDFMT),tmpfs)
Note: See TracChangeset for help on using the changeset viewer.