xref: /haiku/src/system/boot/platform/efi/arch/arm/Jamfile (revision 9e25244c5e9051f6cd333820d6332397361abd6c)
1SubDir HAIKU_TOP src system boot platform efi arch arm ;
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		relocation_func.cpp
24		arch_dtb.cpp
25		arch_mmu.cpp
26		arch_smp.cpp
27		arch_start.cpp
28		arch_timer.cpp
29		;
30
31	BootMergeObject boot_platform_efi_arm.o :
32		$(arch_src)
33		;
34	}
35}
36