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