Changeset 00db5bcf in mainline for boot/arch/ia32/Makefile.inc


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/ia32/Makefile.inc

    r1f0d2ee9 r00db5bcf  
    2727#
    2828
    29 TASKS = \
     29INIT_TASKS = \
    3030        $(USPACEDIR)/srv/ns/ns \
     31        $(USPACEDIR)/app/init/init \
     32        $(USPACEDIR)/srv/devmap/devmap \
     33        $(USPACEDIR)/srv/rd/rd \
     34        $(USPACEDIR)/srv/vfs/vfs \
     35        $(USPACEDIR)/srv/fs/tmpfs/tmpfs
     36
     37RD_TASKS = \
    3138        $(USPACEDIR)/srv/pci/pci \
    3239        $(USPACEDIR)/srv/fb/fb \
    3340        $(USPACEDIR)/srv/kbd/kbd \
    3441        $(USPACEDIR)/srv/console/console \
    35         $(USPACEDIR)/srv/vfs/vfs \
    36         $(USPACEDIR)/srv/fs/tmpfs/tmpfs \
    3742        $(USPACEDIR)/srv/fs/fat/fat \
    38         $(USPACEDIR)/srv/devmap/devmap \
    39         $(USPACEDIR)/app/init/init \
    4043        $(USPACEDIR)/app/tetris/tetris \
    4144        $(USPACEDIR)/app/tester/tester \
     
    4447build: $(BASE)/image.iso
    4548
    46 $(BASE)/image.iso: arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/grub/menu.lst $(KERNELDIR)/kernel.bin $(TASKS)
     49$(BASE)/image.iso: arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/grub/menu.lst $(KERNELDIR)/kernel.bin $(INIT_TASKS) $(RD_TASKS)
    4750        mkdir -p arch/$(ARCH)/iso/boot/grub
    4851        cp arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/iso/boot/grub/
    4952        cp arch/$(ARCH)/grub/menu.lst arch/$(ARCH)/iso/boot/grub/
    5053        cp $(KERNELDIR)/kernel.bin arch/$(ARCH)/iso/boot/
    51         for task in $(TASKS) ; do \
     54        for task in $(INIT_TASKS) ; do \
    5255                cp $$task arch/$(ARCH)/iso/boot/ ; \
    5356        done
     57        for task in $(RD_TASKS) ; do \
     58                cp $$task $(USPACEDIR)/dist/sbin/ ; \
     59        done
     60        $(BASE)/tools/mktmpfs.py 4096 $(USPACEDIR)/dist/ arch/$(ARCH)/iso/boot/initrd.img
    5461        mkisofs -J -r -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o $(BASE)/image.iso arch/$(ARCH)/iso/
    5562
    5663clean:
     64        -for task in $(RD_TASKS) ; do \
     65                rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \
     66        done
    5767        -rm -fr arch/$(ARCH)/iso
    5868        -rm -f $(BASE)/image.iso
Note: See TracChangeset for help on using the changeset viewer.