SubDir HAIKU_TOP src system boot platform amiga_m68k ; SubDirHdrs $(HAIKU_TOP) headers private kernel boot platform $(TARGET_BOOT_PLATFORM) ; UsePrivateHeaders [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ; UsePrivateHeaders [ FDirName kernel platform $(TARGET_BOOT_PLATFORM) ] ; UsePrivateHeaders [ FDirName kernel disk_device_manager ] ; UsePrivateHeaders [ FDirName graphics common ] ; #UsePrivateHeaders [ FDirName graphics vesa ] ; UsePrivateHeaders [ FDirName storage ] ; { local defines = _BOOT_MODE ; defines = [ FDefines $(defines) ] ; SubDirCcFlags $(defines) ; SubDirC++Flags $(defines) -fno-rtti ; } #SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ; BootMergeObject boot_platform_amiga_m68k_shell.o : shell.S : -Wa,--pcrel ; BootMergeObject boot_platform_amiga_m68k_other.o : # shell.S start.cpp rom_calls.cpp debug.cpp #bios.S console.cpp #serial.cpp Handle.cpp devices.cpp keyboard.cpp menu.cpp mmu.cpp cpu.cpp #smp.cpp #smp_trampoline.S # support.S video.cpp #apm.cpp # VESA/DDC EDID #decode_edid.c #dump_edid.c : #-Wa,--pcrel : boot_platform_generic.a ; BootMergeObject boot_platform_amiga_m68k.o : : : boot_platform_amiga_m68k_shell.o boot_platform_amiga_m68k_other.o boot_arch_m68k_030.o boot_arch_m68k_040.o ; # the bootsector in haiku_loader must be checksummed rule ChecksumAmigaLoader { local haikuLoader = $(1) ; local checksummer = fixup_amiga_boot_checksum ; Depends $(haikuLoader) : $(checksummer) ; TARGET_CHECKSUM on $(haikuLoader) = $(checksummer) ; } actions ChecksumAmigaLoader bind TARGET_CHECKSUM { $(TARGET_CHECKSUM) $(1) } ChecksumAmigaLoader haiku_loader ; SEARCH on [ FGristFiles $(genericPlatformSources) ] = [ FDirName $(HAIKU_TOP) src system boot platform generic ] ; # Tell the build system to where stage1.bin can be found, so it can be used # elsewhere. SEARCH on stage1.bin = $(SUBDIR) ; # cf pxe_ia32 Jamfile for stage1