1SubDir HAIKU_TOP src system boot platform next_m68k ; 2 3SubDirHdrs $(HAIKU_TOP) headers private kernel boot platform next_m68k ; 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 12SubDirC++Flags -fno-rtti ; 13 14local platform ; 15for platform in [ MultiBootSubDirSetup next_m68k ] { 16 on $(platform) { 17 #SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ; 18 19 BootMergeObject boot_platform_next_m68k_shell.o : 20 shell.S 21 : -Wa,--pcrel 22 ; 23 24 25 # cpu-specific stuff 26 # should be moved to boot/arch/m68k/... 27 # TODO: add 020+68851 support 28 29 30 BootMergeObject boot_platform_next_m68k_other.o : 31 # shell.S 32 start.cpp 33 debug.cpp 34 #bios.S 35 console.cpp 36 #serial.cpp 37# Handle.cpp 38 devices.cpp 39 keyboard.cpp 40 menu.cpp 41 mmu.cpp 42 cpu.cpp 43 #smp.cpp 44 #smp_trampoline.S 45 # support.S 46 video.cpp 47 #apm.cpp 48 49 # VESA/DDC EDID 50 #decode_edid.c 51 #dump_edid.c 52 53 : #-Wa,--pcrel 54 : boot_platform_generic_next_m68k.a 55 ; 56 57 58 BootMergeObject boot_platform_next_m68k.o : 59 : : 60 boot_platform_next_m68k_shell.o 61 boot_platform_next_m68k_other.o 62# boot_arch_m68k_030.o 63# boot_arch_m68k_040.o 64 ; 65 66 BootMergeObject aligntest_prg.o : 67 aligntest.c 68 : -Wa,--pcrel 69 ; 70 71 # used to check alignment of struct mon_global 72 # The simplest way to do it was to build a program on a platform we know how to link and run 73 # and we can already build Atari programs as long as they don't need relocations. 74 AtariBootPrgLd aligntest.prg : 75 aligntest_prg.o 76 : $(HAIKU_TOP)/src/system/ldscripts/$(TARGET_ARCH)/boot_prg_atari_m68k.ld 77 : -Bstatic 78 ; 79 } 80} 81 82SEARCH on [ FGristFiles $(genericPlatformSources) ] 83 = [ FDirName $(HAIKU_TOP) src system boot platform generic ] ; 84 85# Tell the build system to where stage1.bin can be found, so it can be used 86# elsewhere. 87SEARCH on stage1.bin = $(SUBDIR) ; 88 89# cf pxe_ia32 Jamfile for stage1 90