xref: /haiku/src/system/boot/platform/efi/arch/arm64/Jamfile (revision a5c0d1a80e18f50987966fda2005210092d7671b)
1SubDir HAIKU_TOP src system boot platform efi arch arm64 ;
2
3SubDirHdrs $(HAIKU_TOP) src system boot platform efi ;
4
5UseLibraryHeaders [ FDirName libfdt ] ;
6
7UsePrivateHeaders [ FDirName kernel platform ] ;
8UsePrivateHeaders [ FDirName kernel boot platform efi ] ;
9
10local platform ;
11for platform in [ MultiBootSubDirSetup efi ] {
12    on $(platform) {
13	{
14		local defines = _BOOT_MODE _BOOT_PLATFORM_EFI ;
15		defines = [ FDefines $(defines) ] ;
16		SubDirCcFlags $(defines) ;
17		SubDirC++Flags $(defines) -fno-rtti ;
18	}
19
20	local arch_src =
21		crt0-efi-$(TARGET_ARCH).S
22		entry.S
23		transition.S
24		exceptions.S
25		cache.S
26		relocation_func.cpp
27		arch_mmu.cpp
28		arch_smp.cpp
29		arch_start.cpp
30		arch_timer.cpp
31		arch_cache.cpp
32		arch_dtb.cpp
33		;
34
35	BootMergeObject boot_platform_efi_arm64.o :
36		$(arch_src)
37		;
38	}
39}
40