1SubDir HAIKU_TOP src system boot platform efi arch x86 ; 2 3SubDirHdrs $(SUBDIR) $(DOTDOT) $(DOTDOT) ; 4SubDirHdrs $(SUBDIR) $(DOTDOT) generic ; 5 6UsePrivateHeaders [ FDirName kernel platform ] ; 7UsePrivateHeaders [ FDirName kernel boot platform efi ] ; 8 9local platform ; 10for platform in [ MultiBootSubDirSetup efi ] { 11 on $(platform) { 12 { 13 local defines = _BOOT_PLATFORM_EFI ; 14 defines = [ FDefines $(defines) ] ; 15 SubDirCcFlags $(defines) ; 16 SubDirC++Flags $(defines) -fno-rtti ; 17 } 18 19 local arch_src = 20 crt0-efi-$(TARGET_ARCH).S 21 entry.S 22 smp_trampoline.S 23 support.S 24 relocation_func.cpp 25 arch_mmu.cpp 26 arch_smp.cpp 27 arch_smp_32.cpp 28 arch_start.cpp 29 arch_timer.cpp 30 ; 31 32 local generic_src = 33 generic_mmu.cpp 34 ; 35 36 BootMergeObject boot_platform_efi_x86.o : 37 $(arch_src) 38 $(generic_src) 39 ; 40 41 SEARCH on [ FGristFiles $(generic_src) ] 42 = [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; 43 } 44} 45