xref: /haiku/src/system/boot/arch/arm64/Jamfile (revision 3d4afef9cba2f328e238089d4609d00d4b1524f3)
1SubDir HAIKU_TOP src system boot arch arm64 ;
2
3local platform ;
4
5local kernelArchSources =
6	arch_elf.cpp
7;
8
9kernelLibGenericSources =
10	memcpy.c
11	memset.c
12;
13
14local kernelLibArchSources = ;
15
16local librootOsArchSources =
17	byteorder.S
18;
19
20for platform in [ MultiBootSubDirSetup efi ] {
21	on $(platform) {
22		DEFINES += _BOOT_MODE ;
23
24
25		BootMergeObject [ FGristFiles boot_arch_$(TARGET_KERNEL_ARCH).o ] :
26			$(kernelArchSources)
27			$(kernelLibArchSources)
28			$(kernelLibGenericSources)
29			$(librootOsArchSources)
30			arch_cpu.cpp
31			: # additional flags
32		;
33
34		SEARCH on [ FGristFiles $(kernelArchSources) ]
35			= [ FDirName $(HAIKU_TOP) src system kernel arch arm64 ] ;
36		SEARCH on [ FGristFiles $(kernelLibGenericSources) ]
37			= [ FDirName $(HAIKU_TOP) src system libroot posix string arch generic ] ;
38		SEARCH on [ FGristFiles $(kernelLibArchSources) ]
39			= [ FDirName $(HAIKU_TOP) src system libroot posix string arch arm64 ] ;
40		SEARCH on [ FGristFiles $(librootOsArchSources) ]
41			= [ FDirName $(HAIKU_TOP) src system libroot os arch arm64 ] ;
42	}
43}
44