SubDir HAIKU_TOP src system boot platform efi arch x86 ; SubDirHdrs $(SUBDIR) $(DOTDOT) $(DOTDOT) ; SubDirHdrs $(SUBDIR) $(DOTDOT) generic ; UsePrivateHeaders [ FDirName kernel platform ] ; UsePrivateHeaders [ FDirName kernel boot platform efi ] ; local platform ; for platform in [ MultiBootSubDirSetup efi ] { on $(platform) { { local defines = _BOOT_PLATFORM_EFI ; defines = [ FDefines $(defines) ] ; SubDirCcFlags $(defines) ; SubDirC++Flags $(defines) -fno-rtti ; } local arch_src = crt0-efi-$(TARGET_ARCH).S entry.S smp_trampoline.S support.S relocation_func.cpp arch_mmu.cpp arch_smp.cpp arch_smp_32.cpp arch_start.cpp arch_timer.cpp ; local generic_src = generic_mmu.cpp ; BootMergeObject boot_platform_efi_x86.o : $(arch_src) $(generic_src) ; SEARCH on [ FGristFiles $(generic_src) ] = [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; } }