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

    r1f0d2ee9 r00db5bcf  
    7979        $(KERNELDIR)/kernel.bin \
    8080        $(USPACEDIR)/srv/ns/ns \
     81        $(USPACEDIR)/app/init/init \
     82        $(USPACEDIR)/srv/devmap/devmap \
     83        $(USPACEDIR)/srv/rd/rd \
     84        $(USPACEDIR)/srv/vfs/vfs \
     85        $(USPACEDIR)/srv/fs/tmpfs/tmpfs
     86
     87RD_TASKS = \
    8188        $(USPACEDIR)/srv/fb/fb \
    8289        $(USPACEDIR)/srv/kbd/kbd \
    8390        $(USPACEDIR)/srv/console/console \
    84         $(USPACEDIR)/srv/vfs/vfs \
    85         $(USPACEDIR)/srv/fs/tmpfs/tmpfs \
    8691        $(USPACEDIR)/srv/fs/fat/fat \
    87         $(USPACEDIR)/srv/devmap/devmap \
    88         $(USPACEDIR)/app/init/init \
    8992        $(USPACEDIR)/app/tetris/tetris \
    9093        $(USPACEDIR)/app/tester/tester \
     
    100103-include Makefile.depend
    101104
    102 image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS)
    103         $(LD) -Map image.map -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@
     105image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS)
     106        $(LD) -Map image.map -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) -o $@
    104107
    105108depend:
     
    107110
    108111clean:
    109         -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot image.map image.disasm Makefile.depend
     112        -for task in $(RD_TASKS) ; do \
     113                rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \
     114        done
     115        -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot image.map image.disasm Makefile.depend
    110116
    111 _components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) _link.ld.in
    112         ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 1 "unsigned long" $(COMPONENTS)
     117_components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) _link.ld.in
     118        for task in $(RD_TASKS) ; do \
     119                cp $$task $(USPACEDIR)/dist/sbin/ ; \
     120        done
     121        ../../../../tools/mktmpfs.py 16384 $(USPACEDIR)/dist/ initrd.img
     122        ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 1 "unsigned long" $(COMPONENTS) ./initrd.img
    113123
    114124%.o: %.S
Note: See TracChangeset for help on using the changeset viewer.