1cbdb30f4SJaroslaw PelczarSubDir HAIKU_TOP src system boot arch arm64 ; 2cbdb30f4SJaroslaw Pelczar 3cbdb30f4SJaroslaw Pelczarlocal platform ; 45e567c10SFredrik Holmqvist 55e567c10SFredrik Holmqvistlocal kernelArchSources = 65e567c10SFredrik Holmqvist arch_elf.cpp 7*476346acSurnenfeld arch_uart_linflex.cpp 8*476346acSurnenfeld; 9*476346acSurnenfeld 10*476346acSurnenfeldlocal kernelArchReusableSources = 11*476346acSurnenfeld arch_uart_pl011.cpp 12*476346acSurnenfeld; 13*476346acSurnenfeld 14*476346acSurnenfeldlocal kernelGenericDriverSources = 15*476346acSurnenfeld debug_uart.cpp 16*476346acSurnenfeld debug_uart_8250.cpp 175e567c10SFredrik Holmqvist; 185e567c10SFredrik Holmqvist 195e567c10SFredrik HolmqvistkernelLibGenericSources = 205e567c10SFredrik Holmqvist memcpy.c 215e567c10SFredrik Holmqvist memset.c 225e567c10SFredrik Holmqvist; 235e567c10SFredrik Holmqvist 245e567c10SFredrik Holmqvistlocal kernelLibArchSources = ; 255e567c10SFredrik Holmqvist 265e567c10SFredrik Holmqvistlocal librootOsArchSources = 275e567c10SFredrik Holmqvist byteorder.S 285e567c10SFredrik Holmqvist; 295e567c10SFredrik Holmqvist 305e567c10SFredrik Holmqvistfor platform in [ MultiBootSubDirSetup efi ] { 31cbdb30f4SJaroslaw Pelczar on $(platform) { 32cbdb30f4SJaroslaw Pelczar BootMergeObject [ FGristFiles boot_arch_$(TARGET_KERNEL_ARCH).o ] : 33*476346acSurnenfeld $(kernelGenericDriverSources) 345e567c10SFredrik Holmqvist $(kernelArchSources) 35*476346acSurnenfeld $(kernelArchReusableSources) 365e567c10SFredrik Holmqvist $(kernelLibArchSources) 375e567c10SFredrik Holmqvist $(kernelLibGenericSources) 385e567c10SFredrik Holmqvist $(librootOsArchSources) 39*476346acSurnenfeld 405e567c10SFredrik Holmqvist arch_cpu.cpp 415e567c10SFredrik Holmqvist : # additional flags 42cbdb30f4SJaroslaw Pelczar ; 43cbdb30f4SJaroslaw Pelczar 44*476346acSurnenfeld SEARCH on [ FGristFiles $(kernelGenericDriverSources) ] 45*476346acSurnenfeld = [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ; 465e567c10SFredrik Holmqvist SEARCH on [ FGristFiles $(kernelArchSources) ] 47*476346acSurnenfeld = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH_DIR) ] ; 48*476346acSurnenfeld SEARCH on [ FGristFiles $(kernelArchReusableSources) ] 49*476346acSurnenfeld = [ FDirName $(HAIKU_TOP) src system kernel arch arm ] ; 505e567c10SFredrik Holmqvist SEARCH on [ FGristFiles $(kernelLibGenericSources) ] 515e567c10SFredrik Holmqvist = [ FDirName $(HAIKU_TOP) src system libroot posix string arch generic ] ; 525e567c10SFredrik Holmqvist SEARCH on [ FGristFiles $(kernelLibArchSources) ] 535e567c10SFredrik Holmqvist = [ FDirName $(HAIKU_TOP) src system libroot posix string arch arm64 ] ; 545e567c10SFredrik Holmqvist SEARCH on [ FGristFiles $(librootOsArchSources) ] 555e567c10SFredrik Holmqvist = [ FDirName $(HAIKU_TOP) src system libroot os arch arm64 ] ; 56cbdb30f4SJaroslaw Pelczar } 57cbdb30f4SJaroslaw Pelczar} 58