- Timestamp:
- 2006-07-17T00:53:53Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 231fcb2
- Parents:
- 41c4444
- Location:
- boot/arch
- Files:
-
- 8 edited
-
amd64/Makefile.inc (modified) (1 diff)
-
ia32/Makefile.inc (modified) (1 diff)
-
ia64/Makefile.inc (modified) (1 diff)
-
mips32/Makefile.inc (modified) (1 diff)
-
ppc32/Makefile.inc (modified) (1 diff)
-
ppc64/Makefile.inc (modified) (1 diff)
-
sparc64/Makefile.inc (modified) (2 diffs)
-
xen32/Makefile.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/amd64/Makefile.inc
r41c4444 r41f7564 27 27 # 28 28 29 build: image.iso 29 TASKS = \ 30 $(USPACEDIR)/init/init \ 31 $(USPACEDIR)/ns/ns \ 32 $(USPACEDIR)/pci/pci \ 33 $(USPACEDIR)/fb/fb \ 34 $(USPACEDIR)/kbd/kbd \ 35 $(USPACEDIR)/console/console \ 36 $(USPACEDIR)/tetris/tetris \ 37 $(USPACEDIR)/ipcc/ipcc \ 38 $(USPACEDIR)/klog/klog 30 39 31 image.iso: kernel uspace 40 build: $(BASE)/image.iso 41 42 $(BASE)/image.iso: arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/grub/menu.lst $(KERNELDIR)/kernel.bin $(TASKS) 32 43 mkdir -p arch/$(ARCH)/iso/boot/grub 33 44 cp arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/iso/boot/grub/ 34 45 cp arch/$(ARCH)/grub/menu.lst arch/$(ARCH)/iso/boot/grub/ 35 46 cp $(KERNELDIR)/kernel.bin arch/$(ARCH)/iso/boot/ 36 cp $(USPACEDIR)/init/init arch/$(ARCH)/iso/boot/ 37 cp $(USPACEDIR)/ns/ns arch/$(ARCH)/iso/boot/ 38 cp $(USPACEDIR)/pci/pci arch/$(ARCH)/iso/boot/ 39 cp $(USPACEDIR)/fb/fb arch/$(ARCH)/iso/boot/ 40 cp $(USPACEDIR)/kbd/kbd arch/$(ARCH)/iso/boot/ 41 cp $(USPACEDIR)/console/console arch/$(ARCH)/iso/boot/ 42 cp $(USPACEDIR)/tetris/tetris arch/$(ARCH)/iso/boot/ 43 cp $(USPACEDIR)/ipcc/ipcc arch/$(ARCH)/iso/boot/ 44 cp $(USPACEDIR)/klog/klog arch/$(ARCH)/iso/boot/ 45 mkisofs -J -r -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o image.iso arch/$(ARCH)/iso/ 47 for task in $(TASKS) ; do \ 48 cp $$task arch/$(ARCH)/iso/boot/ ; \ 49 done 50 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/ 46 51 47 clean: clean_kernel clean_uspace52 clean: 48 53 -rm -fr arch/$(ARCH)/iso 49 -rm -f image.iso 50 51 arch_distclean: distclean_kernel distclean_uspace 54 -rm -f $(BASE)/image.iso -
boot/arch/ia32/Makefile.inc
r41c4444 r41f7564 27 27 # 28 28 29 build: image.iso 29 TASKS = \ 30 $(USPACEDIR)/init/init \ 31 $(USPACEDIR)/ns/ns \ 32 $(USPACEDIR)/pci/pci \ 33 $(USPACEDIR)/fb/fb \ 34 $(USPACEDIR)/kbd/kbd \ 35 $(USPACEDIR)/console/console \ 36 $(USPACEDIR)/tetris/tetris \ 37 $(USPACEDIR)/ipcc/ipcc \ 38 $(USPACEDIR)/klog/klog 30 39 31 image.iso: kernel uspace 40 build: $(BASE)/image.iso 41 42 $(BASE)/image.iso: arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/grub/menu.lst $(KERNELDIR)/kernel.bin $(TASKS) 32 43 mkdir -p arch/$(ARCH)/iso/boot/grub 33 44 cp arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/iso/boot/grub/ 34 45 cp arch/$(ARCH)/grub/menu.lst arch/$(ARCH)/iso/boot/grub/ 35 46 cp $(KERNELDIR)/kernel.bin arch/$(ARCH)/iso/boot/ 36 cp $(USPACEDIR)/init/init arch/$(ARCH)/iso/boot/ 37 cp $(USPACEDIR)/ns/ns arch/$(ARCH)/iso/boot/ 38 cp $(USPACEDIR)/pci/pci arch/$(ARCH)/iso/boot/ 39 cp $(USPACEDIR)/fb/fb arch/$(ARCH)/iso/boot/ 40 cp $(USPACEDIR)/kbd/kbd arch/$(ARCH)/iso/boot/ 41 cp $(USPACEDIR)/console/console arch/$(ARCH)/iso/boot/ 42 cp $(USPACEDIR)/tetris/tetris arch/$(ARCH)/iso/boot/ 43 cp $(USPACEDIR)/ipcc/ipcc arch/$(ARCH)/iso/boot/ 44 cp $(USPACEDIR)/klog/klog arch/$(ARCH)/iso/boot/ 45 mkisofs -J -r -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o image.iso arch/$(ARCH)/iso/ 47 for task in $(TASKS) ; do \ 48 cp $$task arch/$(ARCH)/iso/boot/ ; \ 49 done 50 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/ 46 51 47 clean: clean_kernel clean_uspace52 clean: 48 53 -rm -fr arch/$(ARCH)/iso 49 -rm -f image.iso 50 51 arch_distclean: distclean_kernel distclean_uspace 54 -rm -f $(BASE)/image.iso -
boot/arch/ia64/Makefile.inc
r41c4444 r41f7564 27 27 # 28 28 29 VMAXLMA_SRC =$(KERNELDIR)/contrib/arch/ia64/vmaxlma.c29 VMAXLMA_SRC = tools/ia64/vmaxlma.c 30 30 31 build: kernel.bin31 build: $(BASE)/kernel.bin 32 32 33 kernel.bin: kernel uspacevmaxlma34 cp $(KERNELDIR)/kernel.bin .35 ./vmaxlma kernel.bin33 $(BASE)/kernel.bin: $(KERNELDIR)/kernel.bin vmaxlma 34 cp $(KERNELDIR)/kernel.bin $(BASE)/kernel.bin 35 ./vmaxlma $(BASE)/kernel.bin 36 36 37 37 vmaxlma: $(VMAXLMA_SRC) 38 gcc$(VMAXLMA_SRC) -o $@38 $(CC) $(VMAXLMA_SRC) -o $@ 39 39 40 clean: clean_kernel clean_uspace 41 -rm -f kernel.bin vmaxlma 42 43 arch_distclean: distclean_kernel distclean_uspace 40 clean: 41 -rm -f $(BASE)/kernel.bin vmaxlma -
boot/arch/mips32/Makefile.inc
r41c4444 r41f7564 27 27 # 28 28 29 build: image.boot29 build: $(BASE)/image.boot 30 30 31 image.boot: kernel uspace 32 make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) IMAGE=$(CONFIG_IMAGE) 33 cp arch/$(ARCH)/loader/image.boot image.boot 31 $(BASE)/image.boot: depend arch/$(ARCH)/loader/image.boot 32 cp arch/$(ARCH)/loader/image.boot $(BASE)/image.boot 34 33 35 clean: clean_boot_gen clean_kernel clean_uspace 36 make -C arch/$(ARCH)/loader clean 37 -rm -f image.boot 34 depend: 35 -rm arch/$(ARCH)/loader/image.boot 38 36 39 arch_distclean: distclean_kernel distclean_uspace 37 arch/$(ARCH)/loader/image.boot: 38 make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) IMAGE=$(IMAGE) 39 40 clean: 41 make -C arch/$(ARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) IMAGE=$(IMAGE) 42 -rm -f $(BASE)/image.boot -
boot/arch/ppc32/Makefile.inc
r41c4444 r41f7564 27 27 # 28 28 29 build: image.boot29 build: $(BASE)/image.boot 30 30 31 image.boot: kernel uspace 31 $(BASE)/image.boot: depend arch/$(ARCH)/loader/image.boot 32 cp arch/$(ARCH)/loader/image.boot $(BASE)/image.boot 33 34 depend: 35 -rm arch/$(ARCH)/loader/image.boot 36 37 arch/$(ARCH)/loader/image.boot: 32 38 make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) "DEFS=$(DEFS)" 33 cp arch/$(ARCH)/loader/image.boot image.boot34 39 35 clean: clean_boot_gen clean_kernel clean_uspace 36 make -C arch/$(ARCH)/loader clean KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) 37 -rm -f image.boot 38 39 arch_distclean: distclean_kernel distclean_uspace 40 clean: generic_clean 41 make -C arch/$(ARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) "DEFS=$(DEFS)" 42 -rm -f $(BASE)/image.boot -
boot/arch/ppc64/Makefile.inc
r41c4444 r41f7564 27 27 # 28 28 29 build: image.boot29 build: $(BASE)/image.boot 30 30 31 image.boot: kernel uspace 31 $(BASE)/image.boot: depend arch/$(ARCH)/loader/image.boot 32 cp arch/$(ARCH)/loader/image.boot $(BASE)/image.boot 33 34 depend: 35 -rm arch/$(ARCH)/loader/image.boot 36 37 arch/$(ARCH)/loader/image.boot: 32 38 make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) 33 cp arch/$(ARCH)/loader/image.boot image.boot34 39 35 clean: clean_boot_gen clean_kernel clean_uspace 36 make -C arch/$(ARCH)/loader clean KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) 37 -rm -f image.boot 38 39 arch_distclean: distclean_kernel distclean_uspace 40 clean: generic_clean 41 make -C arch/$(ARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) 42 -rm -f $(BASE)/image.boot -
boot/arch/sparc64/Makefile.inc
r41c4444 r41f7564 29 29 TMP=distroot 30 30 31 build: image.iso31 build: $(BASE)/image.iso 32 32 33 image.iso: kernel 34 make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) IMAGE=$(CONFIG_IMAGE) 33 $(BASE)/image.iso: depend arch/$(ARCH)/loader/image.boot 35 34 mkdir -p $(TMP)/boot 36 35 mkdir -p $(TMP)/HelenOS … … 38 37 cp arch/$(ARCH)/silo/README arch/$(ARCH)/silo/COPYING arch/$(ARCH)/silo/silo.conf $(TMP)/boot 39 38 cp arch/$(ARCH)/loader/image.boot $(TMP)/HelenOS/image.boot 40 mkisofs -f -G $(TMP)/boot/isofs.b -B ... -r -o image.iso $(TMP)/39 mkisofs -f -G $(TMP)/boot/isofs.b -B ... -r -o $(BASE)/image.iso $(TMP)/ 41 40 42 clean: clean_boot_gen clean_kernel 43 make -C arch/$(ARCH)/loader clean 41 depend: 42 -rm arch/$(ARCH)/loader/image.boot 43 44 arch/$(ARCH)/loader/image.boot: 45 make -C arch/$(ARCH)/loader COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) 46 47 clean: generic_clean 48 make -C arch/$(ARCH)/loader clean COMPILER=$(COMPILER) KERNELDIR=../../../$(KERNELDIR) USPACEDIR=../../../$(USPACEDIR) 44 49 -rm -fr $(TMP) 45 -rm -f image.iso 46 47 arch_distclean: distclean_kernel 50 -rm -f $(BASE)/image.iso -
boot/arch/xen32/Makefile.inc
r41c4444 r41f7564 27 27 # 28 28 29 build: image.iso 29 TASKS = \ 30 $(USPACEDIR)/init/init \ 31 $(USPACEDIR)/ns/ns \ 32 $(USPACEDIR)/pci/pci \ 33 $(USPACEDIR)/fb/fb \ 34 $(USPACEDIR)/kbd/kbd \ 35 $(USPACEDIR)/console/console \ 36 $(USPACEDIR)/tetris/tetris \ 37 $(USPACEDIR)/ipcc/ipcc \ 38 $(USPACEDIR)/klog/klog 30 39 31 image.iso: kernel uspace 40 build: $(BASE)/image.iso 41 42 $(BASE)/image.iso: arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/grub/menu.lst arch/$(ARCH)/grub/xen.gz $(KERNELDIR)/kernel.bin $(TASKS) 32 43 mkdir -p arch/$(ARCH)/iso/boot/grub 33 44 cp arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/iso/boot/grub/ … … 35 46 cp arch/$(ARCH)/grub/xen.gz arch/$(ARCH)/iso/boot/ 36 47 cp $(KERNELDIR)/kernel.bin arch/$(ARCH)/iso/boot/ 37 cp $(USPACEDIR)/init/init arch/$(ARCH)/iso/boot/ 38 cp $(USPACEDIR)/ns/ns arch/$(ARCH)/iso/boot/ 39 cp $(USPACEDIR)/pci/pci arch/$(ARCH)/iso/boot/ 40 cp $(USPACEDIR)/fb/fb arch/$(ARCH)/iso/boot/ 41 cp $(USPACEDIR)/kbd/kbd arch/$(ARCH)/iso/boot/ 42 cp $(USPACEDIR)/console/console arch/$(ARCH)/iso/boot/ 43 cp $(USPACEDIR)/tetris/tetris arch/$(ARCH)/iso/boot/ 44 cp $(USPACEDIR)/ipcc/ipcc arch/$(ARCH)/iso/boot/ 45 cp $(USPACEDIR)/klog/klog arch/$(ARCH)/iso/boot/ 46 mkisofs -J -r -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o image.iso arch/$(ARCH)/iso/ 48 for task in $(TASKS) ; do \ 49 cp $$task arch/$(ARCH)/iso/boot/ ; \ 50 done 51 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/ 47 52 48 clean: clean_kernel clean_uspace53 clean: 49 54 -rm -fr arch/$(ARCH)/iso 50 -rm -f image.iso 51 52 arch_distclean: distclean_kernel distclean_uspace 55 -rm -f $(BASE)/image.iso
Note:
See TracChangeset
for help on using the changeset viewer.
