Changeset 00db5bcf in mainline
- Timestamp:
- 2008-06-03T14:37:17Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 558c2bd
- Parents:
- 1f0d2ee9
- Location:
- boot/arch
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/amd64/Makefile.inc
r1f0d2ee9 r00db5bcf 27 27 # 28 28 29 TASKS = \29 INIT_TASKS = \ 30 30 $(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 37 RD_TASKS = \ 31 38 $(USPACEDIR)/srv/pci/pci \ 32 39 $(USPACEDIR)/srv/fb/fb \ 33 40 $(USPACEDIR)/srv/kbd/kbd \ 34 $(USPACEDIR)/srv/vfs/vfs \ 35 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 41 $(USPACEDIR)/srv/console/console \ 36 42 $(USPACEDIR)/srv/fs/fat/fat \ 37 $(USPACEDIR)/srv/devmap/devmap \38 $(USPACEDIR)/srv/console/console \39 $(USPACEDIR)/app/init/init \40 43 $(USPACEDIR)/app/tetris/tetris \ 41 44 $(USPACEDIR)/app/tester/tester \ … … 44 47 build: $(BASE)/image.iso 45 48 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) 47 50 mkdir -p arch/$(ARCH)/iso/boot/grub 48 51 cp arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/iso/boot/grub/ 49 52 cp arch/$(ARCH)/grub/menu.lst arch/$(ARCH)/iso/boot/grub/ 50 53 cp $(KERNELDIR)/kernel.bin arch/$(ARCH)/iso/boot/ 51 for task in $( TASKS) ; do \54 for task in $(INIT_TASKS) ; do \ 52 55 cp $$task arch/$(ARCH)/iso/boot/ ; \ 53 56 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 54 61 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/ 55 62 56 63 clean: 64 -for task in $(RD_TASKS) ; do \ 65 rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \ 66 done 57 67 -rm -fr arch/$(ARCH)/iso 58 68 -rm -f $(BASE)/image.iso -
boot/arch/amd64/grub/menu.lst
r1f0d2ee9 r00db5bcf 3 3 4 4 title=HelenOS 5 root (cd) 6 kernel /boot/kernel.bin 7 module /boot/ns 8 module /boot/init 9 module /boot/pci 10 module /boot/fb 11 module /boot/kbd 12 module /boot/console 13 module /boot/tetris 14 module /boot/tester 15 module /boot/klog 16 module /boot/tmpfs 17 module /boot/fat 18 module /boot/vfs 19 module /boot/devmap 5 root (cd) 6 kernel /boot/kernel.bin 7 module /boot/ns 8 module /boot/init 9 module /boot/devmap 10 module /boot/rd 11 module /boot/vfs 12 module /boot/tmpfs 13 module /boot/initrd.img -
boot/arch/ia32/Makefile.inc
r1f0d2ee9 r00db5bcf 27 27 # 28 28 29 TASKS = \29 INIT_TASKS = \ 30 30 $(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 37 RD_TASKS = \ 31 38 $(USPACEDIR)/srv/pci/pci \ 32 39 $(USPACEDIR)/srv/fb/fb \ 33 40 $(USPACEDIR)/srv/kbd/kbd \ 34 41 $(USPACEDIR)/srv/console/console \ 35 $(USPACEDIR)/srv/vfs/vfs \36 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \37 42 $(USPACEDIR)/srv/fs/fat/fat \ 38 $(USPACEDIR)/srv/devmap/devmap \39 $(USPACEDIR)/app/init/init \40 43 $(USPACEDIR)/app/tetris/tetris \ 41 44 $(USPACEDIR)/app/tester/tester \ … … 44 47 build: $(BASE)/image.iso 45 48 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) 47 50 mkdir -p arch/$(ARCH)/iso/boot/grub 48 51 cp arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/iso/boot/grub/ 49 52 cp arch/$(ARCH)/grub/menu.lst arch/$(ARCH)/iso/boot/grub/ 50 53 cp $(KERNELDIR)/kernel.bin arch/$(ARCH)/iso/boot/ 51 for task in $( TASKS) ; do \54 for task in $(INIT_TASKS) ; do \ 52 55 cp $$task arch/$(ARCH)/iso/boot/ ; \ 53 56 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 54 61 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/ 55 62 56 63 clean: 64 -for task in $(RD_TASKS) ; do \ 65 rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \ 66 done 57 67 -rm -fr arch/$(ARCH)/iso 58 68 -rm -f $(BASE)/image.iso -
boot/arch/ia32/grub/menu.lst
r1f0d2ee9 r00db5bcf 3 3 4 4 title=HelenOS 5 root (cd) 6 kernel /boot/kernel.bin 7 module /boot/ns 8 module /boot/init 9 module /boot/pci 10 module /boot/fb 11 module /boot/kbd 12 module /boot/console 13 module /boot/vfs 14 module /boot/tmpfs 15 module /boot/fat 16 module /boot/devmap 17 module /boot/tetris 18 module /boot/tester 19 module /boot/klog 5 root (cd) 6 kernel /boot/kernel.bin 7 module /boot/ns 8 module /boot/init 9 module /boot/devmap 10 module /boot/rd 11 module /boot/vfs 12 module /boot/tmpfs 13 module /boot/initrd.img -
boot/arch/ppc32/loader/Makefile
r1f0d2ee9 r00db5bcf 76 76 $(KERNELDIR)/kernel.bin \ 77 77 $(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 84 RD_TASKS = \ 78 85 $(USPACEDIR)/srv/fb/fb \ 79 86 $(USPACEDIR)/srv/kbd/kbd \ 80 87 $(USPACEDIR)/srv/console/console \ 81 $(USPACEDIR)/srv/vfs/vfs \82 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \83 88 $(USPACEDIR)/srv/fs/fat/fat \ 84 $(USPACEDIR)/srv/devmap/devmap \85 $(USPACEDIR)/app/init/init \86 89 $(USPACEDIR)/app/tetris/tetris \ 87 90 $(USPACEDIR)/app/tester/tester \ … … 97 100 -include Makefile.depend 98 101 99 image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS)100 $(LD) -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@102 image.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 $@ 101 104 102 105 depend: … … 104 107 105 108 clean: 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 107 113 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 110 120 111 121 %.o: %.S -
boot/arch/sparc64/loader/Makefile
r1f0d2ee9 r00db5bcf 79 79 $(KERNELDIR)/kernel.bin \ 80 80 $(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 87 RD_TASKS = \ 81 88 $(USPACEDIR)/srv/fb/fb \ 82 89 $(USPACEDIR)/srv/kbd/kbd \ 83 90 $(USPACEDIR)/srv/console/console \ 84 $(USPACEDIR)/srv/vfs/vfs \85 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \86 91 $(USPACEDIR)/srv/fs/fat/fat \ 87 $(USPACEDIR)/srv/devmap/devmap \88 $(USPACEDIR)/app/init/init \89 92 $(USPACEDIR)/app/tetris/tetris \ 90 93 $(USPACEDIR)/app/tester/tester \ … … 100 103 -include Makefile.depend 101 104 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 $@105 image.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 $@ 104 107 105 108 depend: … … 107 110 108 111 clean: 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 110 116 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 113 123 114 124 %.o: %.S
Note:
See TracChangeset
for help on using the changeset viewer.