Changeset 81235588 in mainline
- Timestamp:
- 2009-12-09T14:51:14Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fb623e2
- Parents:
- 63c4e28
- Location:
- boot
- Files:
-
- 1 added
- 1 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/amd64/Makefile.inc
r63c4e28 r81235588 27 27 # 28 28 29 TMP = distroot 29 include Makefile.common 30 30 31 INIT_TASKS = \ 32 $(USPACEDIR)/srv/ns/ns \ 33 $(USPACEDIR)/srv/loader/loader \ 34 $(USPACEDIR)/app/init/init \ 35 $(USPACEDIR)/srv/devmap/devmap \ 36 $(USPACEDIR)/srv/bd/rd/rd \ 37 $(USPACEDIR)/srv/vfs/vfs 38 ifeq ($(RDFMT),tmpfs) 39 INIT_TASKS += $(USPACEDIR)/srv/fs/tmpfs/tmpfs 40 endif 41 ifeq ($(RDFMT),fat) 42 INIT_TASKS += $(USPACEDIR)/srv/fs/fat/fat 43 endif 31 RD_SRVS += \ 32 $(USPACEDIR)/srv/pci/pci \ 33 $(USPACEDIR)/srv/bd/ata_bd/ata_bd 44 34 45 RD_SRVS = \ 46 $(USPACEDIR)/srv/pci/pci \ 47 $(USPACEDIR)/srv/fb/fb \ 48 $(USPACEDIR)/srv/kbd/kbd \ 49 $(USPACEDIR)/srv/console/console \ 50 $(USPACEDIR)/srv/fs/devfs/devfs \ 51 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 52 $(USPACEDIR)/srv/fs/fat/fat \ 53 $(USPACEDIR)/srv/bd/ata_bd/ata_bd \ 54 $(USPACEDIR)/srv/bd/file_bd/file_bd \ 55 $(USPACEDIR)/srv/part/mbr_part/mbr_part 56 57 RD_APPS = \ 58 $(USPACEDIR)/app/edit/edit \ 59 $(USPACEDIR)/app/getvc/getvc \ 60 $(USPACEDIR)/app/redir/redir \ 61 $(USPACEDIR)/app/tetris/tetris \ 62 $(USPACEDIR)/app/tester/tester \ 63 $(USPACEDIR)/app/trace/trace \ 64 $(USPACEDIR)/app/klog/klog \ 65 $(USPACEDIR)/app/bdsh/bdsh 35 MODULES := $(notdir $(COMPONENTS)) 66 36 67 37 build: $(BASE)/image.iso 68 38 69 $(BASE)/image.iso: arch/$(BARCH)/grub/stage2_eltorito arch/$(BARCH)/grub/menu.lst$(KERNELDIR)/kernel.bin $(INIT_TASKS) $(RD_SRVS) $(RD_APPS)39 $(BASE)/image.iso: arch/$(BARCH)/grub/stage2_eltorito $(KERNELDIR)/kernel.bin $(INIT_TASKS) $(RD_SRVS) $(RD_APPS) 70 40 mkdir -p $(TMP)/boot/grub 71 41 cp arch/$(BARCH)/grub/stage2_eltorito $(TMP)/boot/grub/ 72 ifneq ($(RDFMT),tmpfs) 73 cat arch/$(BARCH)/grub/menu.lst | grep -v "tmpfs" > $(TMP)/boot/grub/menu.lst 74 endif 75 ifneq ($(RDFMT),fat) 76 cat arch/$(BARCH)/grub/menu.lst | grep -v "fat" > $(TMP)/boot/grub/menu.lst 77 endif 42 43 echo "default 0" > $(TMP)/boot/grub/menu.lst 44 echo "timeout 10" >> $(TMP)/boot/grub/menu.lst 45 echo "" >> $(TMP)/boot/grub/menu.lst 46 echo "title=HelenOS" >> $(TMP)/boot/grub/menu.lst 47 echo " root (cd)" >> $(TMP)/boot/grub/menu.lst 48 for module in $(MODULES) $(INITRD).img ; do \ 49 if [ $$module == kernel.bin ] ; then \ 50 echo " kernel /boot/$$module" >> $(TMP)/boot/grub/menu.lst ; \ 51 else \ 52 echo " module /boot/$$module" >> $(TMP)/boot/grub/menu.lst ; \ 53 fi \ 54 done 55 78 56 cp $(KERNELDIR)/kernel.bin $(TMP)/boot/ 79 57 for task in $(INIT_TASKS) ; do \ … … 86 64 cp $$file $(USPACEDIR)/dist/app/ ; \ 87 65 done 66 88 67 ifeq ($(RDFMT),tmpfs) 89 $(BASE)/tools/mktmpfs.py $(USPACEDIR)/dist/ $(TMP)/boot/ initrd.fs68 $(BASE)/tools/mktmpfs.py $(USPACEDIR)/dist/ $(TMP)/boot/$(INITRD).fs 90 69 endif 91 70 ifeq ($(RDFMT),fat) 92 $(BASE)/tools/mkfat.py $(USPACEDIR)/dist/ $(TMP)/boot/ initrd.fs71 $(BASE)/tools/mkfat.py $(USPACEDIR)/dist/ $(TMP)/boot/$(INITRD).fs 93 72 endif 94 $(BASE)/tools/mkhord.py 4096 $(TMP)/boot/ initrd.fs $(TMP)/boot/initrd.img95 rm $(TMP)/boot/ initrd.fs73 $(BASE)/tools/mkhord.py 4096 $(TMP)/boot/$(INITRD).fs $(TMP)/boot/$(INITRD).img 74 rm $(TMP)/boot/$(INITRD).fs 96 75 mkisofs -J -r -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o $@ $(TMP)/ 97 76 -
boot/arch/arm32/loader/Makefile.build
r63c4e28 r81235588 51 51 ../../../genarch/division.c 52 52 53 COMPONENTS = \54 $(KERNELDIR)/kernel.bin \55 $(USPACEDIR)/srv/ns/ns \56 $(USPACEDIR)/srv/loader/loader \57 $(USPACEDIR)/app/init/init \58 $(USPACEDIR)/srv/devmap/devmap \59 $(USPACEDIR)/srv/bd/rd/rd \60 $(USPACEDIR)/srv/vfs/vfs61 ifeq ($(RDFMT),tmpfs)62 COMPONENTS += $(USPACEDIR)/srv/fs/tmpfs/tmpfs63 endif64 ifeq ($(RDFMT),fat)65 COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat66 endif67 68 53 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 69 54 COMPONENT_OBJECTS := $(addsuffix .co,$(basename $(notdir $(COMPONENTS)))) $(INITRD).co -
boot/arch/arm32/loader/Makefile.common
r63c4e28 r81235588 31 31 # 32 32 33 include ../../../Makefile.common 34 33 35 DEPEND = Makefile.depend 34 36 DEPEND_PREV = $(DEPEND).prev … … 37 39 LINK = _link.ld 38 40 COMPS = _components 39 INITRD = initrd40 41 41 42 KERNELDIR = ../../../../kernel 42 43 USPACEDIR = ../../../../uspace 43 44 44 RD_SRVS = \ 45 $(USPACEDIR)/srv/fb/fb \ 46 $(USPACEDIR)/srv/kbd/kbd \ 47 $(USPACEDIR)/srv/console/console \ 48 $(USPACEDIR)/srv/fs/devfs/devfs \ 49 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 50 $(USPACEDIR)/srv/fs/fat/fat \ 51 $(USPACEDIR)/srv/bd/file_bd/file_bd \ 52 $(USPACEDIR)/srv/part/mbr_part/mbr_part \ 53 $(USPACEDIR)/srv/bd/gxe_bd/gxe_bd 54 55 RD_APPS = \ 56 $(USPACEDIR)/app/edit/edit \ 57 $(USPACEDIR)/app/getvc/getvc \ 58 $(USPACEDIR)/app/redir/redir \ 59 $(USPACEDIR)/app/tetris/tetris \ 60 $(USPACEDIR)/app/tester/tester \ 61 $(USPACEDIR)/app/trace/trace \ 62 $(USPACEDIR)/app/klog/klog \ 63 $(USPACEDIR)/app/bdsh/bdsh 45 RD_SRVS += $(USPACEDIR)/srv/bd/gxe_bd/gxe_bd -
boot/arch/ia64/loader/Makefile.build
r63c4e28 r81235588 49 49 boot.S 50 50 51 COMPONENTS = \52 $(KERNELDIR)/kernel.bin \53 $(USPACEDIR)/srv/ns/ns \54 $(USPACEDIR)/srv/loader/loader \55 $(USPACEDIR)/app/init/init \56 $(USPACEDIR)/srv/devmap/devmap \57 $(USPACEDIR)/srv/bd/rd/rd \58 $(USPACEDIR)/srv/vfs/vfs59 ifeq ($(RDFMT),tmpfs)60 COMPONENTS += $(USPACEDIR)/srv/fs/tmpfs/tmpfs61 endif62 ifeq ($(RDFMT),fat)63 COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat64 endif65 66 51 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 67 52 COMPONENT_OBJECTS := $(addsuffix .co,$(basename $(notdir $(COMPONENTS)))) $(INITRD).co -
boot/arch/ia64/loader/Makefile.common
r63c4e28 r81235588 31 31 # 32 32 33 include ../../../Makefile.common 34 33 35 DEPEND = Makefile.depend 34 36 DEPEND_PREV = $(DEPEND).prev … … 38 40 LINK = _link.ld 39 41 COMPS = _components 40 INITRD = initrd41 42 42 43 KERNELDIR = ../../../../kernel 43 44 USPACEDIR = ../../../../uspace 44 45 RD_SRVS = \46 $(USPACEDIR)/srv/fb/fb \47 $(USPACEDIR)/srv/kbd/kbd \48 $(USPACEDIR)/srv/console/console \49 $(USPACEDIR)/srv/fs/devfs/devfs \50 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \51 $(USPACEDIR)/srv/fs/fat/fat \52 $(USPACEDIR)/srv/bd/file_bd/file_bd \53 $(USPACEDIR)/srv/part/mbr_part/mbr_part54 55 RD_APPS = \56 $(USPACEDIR)/app/edit/edit \57 $(USPACEDIR)/app/getvc/getvc \58 $(USPACEDIR)/app/redir/redir \59 $(USPACEDIR)/app/tetris/tetris \60 $(USPACEDIR)/app/tester/tester \61 $(USPACEDIR)/app/trace/trace \62 $(USPACEDIR)/app/klog/klog \63 $(USPACEDIR)/app/bdsh/bdsh -
boot/arch/mips32/loader/Makefile.build
r63c4e28 r81235588 49 49 boot.S 50 50 51 COMPONENTS = \52 $(KERNELDIR)/kernel.bin \53 $(USPACEDIR)/srv/ns/ns \54 $(USPACEDIR)/srv/loader/loader \55 $(USPACEDIR)/app/init/init \56 $(USPACEDIR)/srv/devmap/devmap \57 $(USPACEDIR)/srv/bd/rd/rd \58 $(USPACEDIR)/srv/vfs/vfs59 ifeq ($(RDFMT),tmpfs)60 COMPONENTS += $(USPACEDIR)/srv/fs/tmpfs/tmpfs61 endif62 ifeq ($(RDFMT),fat)63 COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat64 endif65 66 51 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 67 52 COMPONENT_OBJECTS := $(addsuffix .co,$(basename $(notdir $(COMPONENTS)))) $(INITRD).co -
boot/arch/mips32/loader/Makefile.common
r63c4e28 r81235588 31 31 # 32 32 33 include ../../../Makefile.common 34 33 35 DEPEND = Makefile.depend 34 36 DEPEND_PREV = $(DEPEND).prev … … 38 40 LINK = _link.ld 39 41 COMPS = _components 40 INITRD = initrd41 42 42 43 KERNELDIR = ../../../../kernel 43 44 USPACEDIR = ../../../../uspace 44 45 45 RD_SRVS = \ 46 $(USPACEDIR)/srv/fb/fb \ 47 $(USPACEDIR)/srv/kbd/kbd \ 48 $(USPACEDIR)/srv/console/console \ 49 $(USPACEDIR)/srv/fs/devfs/devfs \ 50 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 51 $(USPACEDIR)/srv/fs/fat/fat \ 52 $(USPACEDIR)/srv/bd/file_bd/file_bd \ 53 $(USPACEDIR)/srv/part/mbr_part/mbr_part \ 54 $(USPACEDIR)/srv/bd/gxe_bd/gxe_bd 55 56 RD_APPS = \ 57 $(USPACEDIR)/app/edit/edit \ 58 $(USPACEDIR)/app/getvc/getvc \ 59 $(USPACEDIR)/app/redir/redir \ 60 $(USPACEDIR)/app/tetris/tetris \ 61 $(USPACEDIR)/app/tester/tester \ 62 $(USPACEDIR)/app/trace/trace \ 63 $(USPACEDIR)/app/klog/klog \ 64 $(USPACEDIR)/app/bdsh/bdsh 46 RD_SRVS += $(USPACEDIR)/srv/bd/gxe_bd/gxe_bd -
boot/arch/ppc32/Makefile.inc
r63c4e28 r81235588 27 27 # 28 28 29 TMP = distroot 29 include Makefile.common 30 30 31 31 build: $(BASE)/image.iso -
boot/arch/ppc32/loader/Makefile.build
r63c4e28 r81235588 52 52 boot.S 53 53 54 COMPONENTS = \55 $(KERNELDIR)/kernel.bin \56 $(USPACEDIR)/srv/ns/ns \57 $(USPACEDIR)/app/init/init \58 $(USPACEDIR)/srv/loader/loader \59 $(USPACEDIR)/srv/devmap/devmap \60 $(USPACEDIR)/srv/bd/rd/rd \61 $(USPACEDIR)/srv/vfs/vfs62 ifeq ($(RDFMT),tmpfs)63 COMPONENTS += $(USPACEDIR)/srv/fs/tmpfs/tmpfs64 endif65 ifeq ($(RDFMT),fat)66 COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat67 endif68 69 54 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 70 55 COMPONENT_OBJECTS := $(addsuffix .co,$(basename $(notdir $(COMPONENTS)))) $(INITRD).co -
boot/arch/ppc32/loader/Makefile.common
r63c4e28 r81235588 31 31 # 32 32 33 include ../../../Makefile.common 34 33 35 DEPEND = Makefile.depend 34 36 DEPEND_PREV = $(DEPEND).prev … … 37 39 LINK = _link.ld 38 40 COMPS = _components 39 INITRD = initrd40 41 41 42 KERNELDIR = ../../../../kernel 42 43 USPACEDIR = ../../../../uspace 43 44 RD_SRVS = \45 $(USPACEDIR)/srv/fb/fb \46 $(USPACEDIR)/srv/kbd/kbd \47 $(USPACEDIR)/srv/console/console \48 $(USPACEDIR)/srv/fs/devfs/devfs \49 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \50 $(USPACEDIR)/srv/fs/fat/fat \51 $(USPACEDIR)/srv/bd/file_bd/file_bd \52 $(USPACEDIR)/srv/part/mbr_part/mbr_part53 54 RD_APPS = \55 $(USPACEDIR)/app/edit/edit \56 $(USPACEDIR)/app/getvc/getvc \57 $(USPACEDIR)/app/redir/redir \58 $(USPACEDIR)/app/tetris/tetris \59 $(USPACEDIR)/app/tester/tester \60 $(USPACEDIR)/app/trace/trace \61 $(USPACEDIR)/app/klog/klog \62 $(USPACEDIR)/app/bdsh/bdsh -
boot/arch/sparc64/Makefile.inc
r63c4e28 r81235588 27 27 # 28 28 29 TMP = distroot 29 include Makefile.common 30 30 31 31 ifeq ($(CONFIG_AOUT_ISOFS_B),y) -
boot/arch/sparc64/loader/Makefile.build
r63c4e28 r81235588 52 52 boot.S 53 53 54 COMPONENTS = \55 $(KERNELDIR)/kernel.bin \56 $(USPACEDIR)/srv/ns/ns \57 $(USPACEDIR)/app/init/init \58 $(USPACEDIR)/srv/loader/loader \59 $(USPACEDIR)/srv/devmap/devmap \60 $(USPACEDIR)/srv/bd/rd/rd \61 $(USPACEDIR)/srv/vfs/vfs62 ifeq ($(RDFMT),tmpfs)63 COMPONENTS += $(USPACEDIR)/srv/fs/tmpfs/tmpfs64 endif65 ifeq ($(RDFMT),fat)66 COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat67 endif68 69 54 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 70 55 -
boot/arch/sparc64/loader/Makefile.common
r63c4e28 r81235588 31 31 # 32 32 33 include ../../../Makefile.common 34 33 35 DEPEND = Makefile.depend 34 36 DEPEND_PREV = $(DEPEND).prev … … 37 39 LINK = _link.ld 38 40 COMPS = _components 39 INITRD = initrd40 41 41 42 KERNELDIR = ../../../../kernel 42 43 USPACEDIR = ../../../../uspace 43 44 RD_SRVS = \45 $(USPACEDIR)/srv/fb/fb \46 $(USPACEDIR)/srv/kbd/kbd \47 $(USPACEDIR)/srv/console/console \48 $(USPACEDIR)/srv/fs/devfs/devfs \49 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \50 $(USPACEDIR)/srv/bd/file_bd/file_bd \51 $(USPACEDIR)/srv/part/mbr_part/mbr_part52 53 RD_APPS = \54 $(USPACEDIR)/app/edit/edit \55 $(USPACEDIR)/app/getvc/getvc \56 $(USPACEDIR)/app/redir/redir \57 $(USPACEDIR)/app/tetris/tetris \58 $(USPACEDIR)/app/trace/trace \59 $(USPACEDIR)/app/klog/klog \60 $(USPACEDIR)/app/bdsh/bdsh61 44 62 45 RD_SRVS_GENERIC = \
Note:
See TracChangeset
for help on using the changeset viewer.