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