Changeset 00db5bcf in mainline for boot/arch/ppc32/loader/Makefile


Ignore:
Timestamp:
2008-06-03T14:37:17Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
558c2bd
Parents:
1f0d2ee9
Message:

RAM disk / filesystem support

File:
1 edited

Legend:

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

    r1f0d2ee9 r00db5bcf  
    7676        $(KERNELDIR)/kernel.bin \
    7777        $(USPACEDIR)/srv/ns/ns \
     78        $(USPACEDIR)/app/init/init \
     79        $(USPACEDIR)/srv/devmap/devmap \
     80        $(USPACEDIR)/srv/rd/rd \
     81        $(USPACEDIR)/srv/vfs/vfs \
     82        $(USPACEDIR)/srv/fs/tmpfs/tmpfs
     83
     84RD_TASKS = \
    7885        $(USPACEDIR)/srv/fb/fb \
    7986        $(USPACEDIR)/srv/kbd/kbd \
    8087        $(USPACEDIR)/srv/console/console \
    81         $(USPACEDIR)/srv/vfs/vfs \
    82         $(USPACEDIR)/srv/fs/tmpfs/tmpfs \
    8388        $(USPACEDIR)/srv/fs/fat/fat \
    84         $(USPACEDIR)/srv/devmap/devmap \
    85         $(USPACEDIR)/app/init/init \
    8689        $(USPACEDIR)/app/tetris/tetris \
    8790        $(USPACEDIR)/app/tester/tester \
     
    97100-include Makefile.depend
    98101
    99 image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS)
    100         $(LD) -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@
     102image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS)
     103        $(LD) -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) -o $@
    101104
    102105depend:
     
    104107
    105108clean:
    106         -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend
     109        -for task in $(RD_TASKS) ; do \
     110                rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \
     111        done
     112        -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend
    107113
    108 _components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) _link.ld.in
    109         ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned int" $(COMPONENTS)
     114_components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) _link.ld.in
     115        for task in $(RD_TASKS) ; do \
     116                cp $$task $(USPACEDIR)/dist/sbin/ ; \
     117        done
     118        ../../../../tools/mktmpfs.py 4096 $(USPACEDIR)/dist/ initrd.img
     119        ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned int" $(COMPONENTS) ./initrd.img
    110120
    111121%.o: %.S
Note: See TracChangeset for help on using the changeset viewer.