xref: /haiku/src/system/boot/platform/efi/arch/arm/Jamfile (revision 6f80a9801fedbe7355c4360bd204ba746ec3ec2d)
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		cache.S
26		relocation_func.cpp
27		arch_cpu.cpp
28		arch_dtb.cpp
29		arch_mmu.cpp
30		arch_smp.cpp
31		arch_start.cpp
32		arch_timer.cpp
33		;
34
35	BootMergeObject boot_platform_efi_arm.o :
36		$(arch_src)
37		;
38	}
39}
40