xref: /haiku/src/system/boot/platform/efi/arch/arm/Jamfile (revision 52f7c9389475e19fc21487b38064b4390eeb6fea)
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 arch arm ] ;
8UsePrivateHeaders [ FDirName kernel platform ] ;
9UsePrivateHeaders [ FDirName kernel boot arch arm ] ;
10UsePrivateHeaders [ FDirName kernel boot platform efi ] ;
11
12local platform ;
13for platform in [ MultiBootSubDirSetup efi ] {
14    on $(platform) {
15	{
16		local defines = _BOOT_MODE _BOOT_PLATFORM_EFI ;
17		defines = [ FDefines $(defines) ] ;
18		SubDirCcFlags $(defines) ;
19		SubDirC++Flags $(defines) -fno-rtti ;
20	}
21
22	local arch_src =
23		crt0-efi-$(TARGET_ARCH).S
24		entry.S
25		relocation_func.cpp
26		arch_cpu.cpp
27		arch_dtb.cpp
28		arch_mmu.cpp
29		arch_smp.cpp
30		arch_start.cpp
31		arch_timer.cpp
32		;
33
34	BootMergeObject boot_platform_efi_arm.o :
35		$(arch_src)
36		;
37	}
38}
39