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

    rdac629e rde9c5cb  
    9595endif
    9696
    97 RD_TASKS = \
     97RD_SRVS = \
    9898        $(USPACEDIR)/srv/fb/fb \
    9999        $(USPACEDIR)/srv/kbd/kbd \
    100100        $(USPACEDIR)/srv/console/console \
    101101        $(USPACEDIR)/srv/fs/tmpfs/tmpfs \
    102         $(USPACEDIR)/srv/fs/fat/fat \
     102        $(USPACEDIR)/srv/fs/fat/fat
     103
     104RD_APPS = \
    103105        $(USPACEDIR)/app/tetris/tetris \
    104106        $(USPACEDIR)/app/tester/tester \
     
    122124
    123125clean:
    124         -for task in $(RD_TASKS) ; do \
    125                 rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \
     126        -for file in $(RD_SRVS) ; do \
     127                rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \
     128        done
     129        -for file in $(RD_APPS) ; do \
     130                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    126131        done
    127132        -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) initrd.img image.boot image.map image.disasm Makefile.depend
    128133
    129 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) _link.ld.in
    130         for task in $(RD_TASKS) ; do \
    131                 cp $$task $(USPACEDIR)/dist/sbin/ ; \
     134_components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_APPS) _link.ld.in
     135        for file in $(RD_SRVS) ; do \
     136                cp $$file $(USPACEDIR)/dist/srv/ ; \
     137        done
     138        for file in $(RD_APPS) ; do \
     139                cp $$file $(USPACEDIR)/dist/app/ ; \
    132140        done
    133141ifeq ($(RDFMT),tmpfs)
Note: See TracChangeset for help on using the changeset viewer.