1SubDir HAIKU_TOP src system boot platform openfirmware ; 2 3SubDirC++Flags -D_BOOT_MODE -fno-rtti ; 4 5UsePrivateHeaders [ FDirName graphics common ] ; 6 7{ 8 local defines = _BOOT_MODE _BOOT_PLATFORM_OPENFIRMWARE ; 9 defines = [ FDefines $(defines) ] ; 10 SubDirCcFlags $(defines) ; 11 SubDirC++Flags $(defines) -fno-rtti ; 12} 13 14local platform_src = 15 console.cpp 16 debug.cpp 17 devices.cpp 18 Handle.cpp 19 heap.cpp 20 menu.cpp 21 mmu.cpp 22 network.cpp 23 real_time_clock.cpp 24 start.cpp 25 support.cpp 26 video.cpp 27; 28 29local kernel_src = 30 openfirmware.cpp 31 openfirmware_devices.cpp 32; 33 34local vesa_src = 35 # VESA/DDC EDID 36 decode_edid.c 37 dump_edid.c 38; 39 40local platform ; 41for platform in [ MultiBootSubDirSetup openfirmware ] { 42 on $(platform) { 43 BootMergeObject boot_platform_openfirmware.o : 44 45 $(platform_src) 46 $(kernel_src) 47 $(vesa_src) 48 : 49 : 50 boot_platform_generic_openfirmware.a 51 boot_platform_openfirmware_$(TARGET_ARCH).o 52 ; 53 54# SEARCH on [ FGristFiles $(genericPlatformSources) ] 55# = [ FDirName $(HAIKU_TOP) src system boot platform generic ] ; 56 SEARCH on [ FGristFiles $(kernel_src) ] 57 = [ FDirName $(HAIKU_TOP) src system kernel platform openfirmware ] ; 58 SEARCH on [ FGristFiles $(vesa_src) ] 59 = [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ; 60 61 } 62} 63 64SubInclude HAIKU_TOP src system boot platform openfirmware arch ; 65