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