1SubDir HAIKU_TOP src system boot platform efi arch riscv64 ; 2 3SubDirHdrs $(SUBDIR) $(DOTDOT) $(DOTDOT) ; 4SubDirHdrs $(SUBDIR) $(DOTDOT) generic ; 5 6UseLibraryHeaders [ FDirName libfdt ] ; 7 8UsePrivateHeaders [ FDirName kernel platform ] ; 9UsePrivateHeaders [ FDirName kernel boot platform efi ] ; 10 11local platform ; 12for platform in [ MultiBootSubDirSetup efi ] { 13 on $(platform) { 14 15 local arch_src = 16 crt0-efi-$(TARGET_ARCH).S 17 entry.S 18 relocation_func.cpp 19 arch_dtb.cpp 20 arch_mmu.cpp 21 arch_smp.cpp 22 arch_start.cpp 23 arch_timer.cpp 24 arch_traps.cpp 25 arch_traps_asm.S 26 ; 27 28 local generic_src = 29 generic_mmu.cpp 30 ; 31 32 BootMergeObject boot_platform_efi_riscv64.o : 33 $(arch_src) 34 $(generic_src) 35 ; 36 37 SEARCH on [ FGristFiles $(generic_src) ] 38 = [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; 39 } 40} 41