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 cpu.cpp 16 console.cpp 17 debug.cpp 18 devices.cpp 19 Handle.cpp 20 heap.cpp 21 menu.cpp 22 mmu.cpp 23 network.cpp 24 real_time_clock.cpp 25 start.cpp 26 support.cpp 27 video.cpp 28; 29 30local kernel_src = 31 openfirmware.cpp 32 openfirmware_devices.cpp 33; 34 35local vesa_src = 36 # VESA/DDC EDID 37 decode_edid.c 38 dump_edid.c 39; 40 41local platform ; 42for platform in [ MultiBootSubDirSetup openfirmware ] { 43 on $(platform) { 44 BootMergeObject boot_platform_openfirmware.o : 45 46 $(platform_src) 47 $(kernel_src) 48 $(vesa_src) 49 : 50 : 51 boot_platform_generic_openfirmware.a 52 boot_platform_openfirmware_$(TARGET_ARCH).o 53 ; 54 55# SEARCH on [ FGristFiles $(genericPlatformSources) ] 56# = [ FDirName $(HAIKU_TOP) src system boot platform generic ] ; 57 SEARCH on [ FGristFiles $(kernel_src) ] 58 = [ FDirName $(HAIKU_TOP) src system kernel platform openfirmware ] ; 59 SEARCH on [ FGristFiles $(vesa_src) ] 60 = [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ; 61 62 } 63} 64 65SubInclude HAIKU_TOP src system boot platform openfirmware arch ; 66