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