1SubDir HAIKU_TOP src system boot platform amiga_m68k ; 2 3SubDirHdrs $(HAIKU_TOP) headers private kernel boot platform $(TARGET_BOOT_PLATFORM) ; 4 5UsePrivateHeaders [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ; 6UsePrivateHeaders [ FDirName kernel platform $(TARGET_BOOT_PLATFORM) ] ; 7UsePrivateHeaders [ FDirName kernel disk_device_manager ] ; 8UsePrivateHeaders [ FDirName graphics common ] ; 9#UsePrivateHeaders [ FDirName graphics vesa ] ; 10UsePrivateHeaders [ FDirName storage ] ; 11 12{ 13 local defines = _BOOT_MODE ; 14 15 defines = [ FDefines $(defines) ] ; 16 SubDirCcFlags $(defines) ; 17 SubDirC++Flags $(defines) -fno-rtti ; 18} 19 20#SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ; 21 22BootMergeObject boot_platform_amiga_m68k_shell.o : 23 shell.S 24 : -Wa,--pcrel 25; 26 27 28BootMergeObject boot_platform_amiga_m68k_other.o : 29# shell.S 30 start.cpp 31 rom_calls.cpp 32 debug.cpp 33 #bios.S 34 console.cpp 35 #serial.cpp 36 Handle.cpp 37 devices.cpp 38 keyboard.cpp 39 menu.cpp 40 mmu.cpp 41 cpu.cpp 42 #smp.cpp 43 #smp_trampoline.S 44# support.S 45 video.cpp 46 #apm.cpp 47 48 # VESA/DDC EDID 49 #decode_edid.c 50 #dump_edid.c 51 52 : #-Wa,--pcrel 53 : boot_platform_generic.a 54; 55 56 57BootMergeObject boot_platform_amiga_m68k.o : 58 : : 59 boot_platform_amiga_m68k_shell.o 60 boot_platform_amiga_m68k_other.o 61 boot_arch_m68k_030.o 62 boot_arch_m68k_040.o 63; 64 65 66# the bootsector in haiku_loader must be checksummed 67rule ChecksumAmigaLoader 68{ 69 local haikuLoader = $(1) ; 70 local checksummer = <build>fixup_amiga_boot_checksum ; 71 72 Depends $(haikuLoader) : $(checksummer) ; 73 74 TARGET_CHECKSUM on $(haikuLoader) = $(checksummer) ; 75 76} 77 78 79actions ChecksumAmigaLoader bind TARGET_CHECKSUM 80{ 81 $(TARGET_CHECKSUM) $(1) 82} 83 84 85ChecksumAmigaLoader haiku_loader ; 86 87 88SEARCH on [ FGristFiles $(genericPlatformSources) ] 89 = [ FDirName $(HAIKU_TOP) src system boot platform generic ] ; 90 91# Tell the build system to where stage1.bin can be found, so it can be used 92# elsewhere. 93SEARCH on stage1.bin = $(SUBDIR) ; 94 95# cf pxe_ia32 Jamfile for stage1 96