1 SubDir HAIKU_TOP src system boot arch x86 ;
3 SetupFeatureObjectsDir $(TARGET_BOOT_PLATFORM) ;
5 DEFINES += _BOOT_MODE ;
7 local kernelArchSources =
11 local kernelArchSpecificSources ;
12 local kernelLibArchSpecificSources ;
13 if $(TARGET_ARCH) = x86_64 && $(TARGET_BOOT_PLATFORM) = efi {
14 kernelArchSpecificSources = cpuid.cpp ;
15 kernelLibArchSpecificSources = arch_string.cpp ;
17 kernelArchSpecificSources = cpuid.S ;
18 kernelLibArchSpecificSources = arch_string.S ;
21 local librootOsArchSources =
25 BootMergeObject boot_arch_$(TARGET_KERNEL_ARCH).o :
27 $(kernelArchSpecificSources)
28 $(kernelLibArchSpecificSources)
29 $(librootOsArchSources)
30 : -std=c++11 # additional flags
33 SEARCH on [ FGristFiles $(kernelArchSources) ]
34 = [ FDirName $(HAIKU_TOP) src system kernel arch x86 ] ;
36 if $(TARGET_ARCH) = x86_64 && $(TARGET_BOOT_PLATFORM) = efi {
37 SEARCH on [ FGristFiles $(kernelArchSpecificSources) ]
38 = [ FDirName $(HAIKU_TOP) src system kernel arch x86 64 ] ;
39 SEARCH on [ FGristFiles $(kernelLibArchSpecificSources) ]
40 = [ FDirName $(HAIKU_TOP) src system libroot posix string arch x86_64 ] ;
42 SEARCH on [ FGristFiles $(kernelArchSpecificSources) ]
43 = [ FDirName $(HAIKU_TOP) src system kernel arch x86 32 ] ;
44 SEARCH on [ FGristFiles $(kernelLibArchSpecificSources) ]
45 = [ FDirName $(HAIKU_TOP) src system kernel lib arch x86 ] ;
47 SEARCH on [ FGristFiles $(librootOsArchSources) ]
48 = [ FDirName $(HAIKU_TOP) src system libroot os arch x86 ] ;