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 DEFINES += _BOOT_MODE ; 335e567c10SFredrik Holmqvist 345e567c10SFredrik Holmqvist 35cbdb30f4SJaroslaw Pelczar BootMergeObject [ FGristFiles boot_arch_$(TARGET_KERNEL_ARCH).o ] : 36*476346acSurnenfeld $(kernelGenericDriverSources) 375e567c10SFredrik Holmqvist $(kernelArchSources) 38*476346acSurnenfeld $(kernelArchReusableSources) 395e567c10SFredrik Holmqvist $(kernelLibArchSources) 405e567c10SFredrik Holmqvist $(kernelLibGenericSources) 415e567c10SFredrik Holmqvist $(librootOsArchSources) 42*476346acSurnenfeld 435e567c10SFredrik Holmqvist arch_cpu.cpp 445e567c10SFredrik Holmqvist : # additional flags 45cbdb30f4SJaroslaw Pelczar ; 46cbdb30f4SJaroslaw Pelczar 47*476346acSurnenfeld SEARCH on [ FGristFiles $(kernelGenericDriverSources) ] 48*476346acSurnenfeld = [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ; 495e567c10SFredrik Holmqvist SEARCH on [ FGristFiles $(kernelArchSources) ] 50*476346acSurnenfeld = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH_DIR) ] ; 51*476346acSurnenfeld SEARCH on [ FGristFiles $(kernelArchReusableSources) ] 52*476346acSurnenfeld = [ FDirName $(HAIKU_TOP) src system kernel arch arm ] ; 535e567c10SFredrik Holmqvist SEARCH on [ FGristFiles $(kernelLibGenericSources) ] 545e567c10SFredrik Holmqvist = [ FDirName $(HAIKU_TOP) src system libroot posix string arch generic ] ; 555e567c10SFredrik Holmqvist SEARCH on [ FGristFiles $(kernelLibArchSources) ] 565e567c10SFredrik Holmqvist = [ FDirName $(HAIKU_TOP) src system libroot posix string arch arm64 ] ; 575e567c10SFredrik Holmqvist SEARCH on [ FGristFiles $(librootOsArchSources) ] 585e567c10SFredrik Holmqvist = [ FDirName $(HAIKU_TOP) src system libroot os arch arm64 ] ; 59cbdb30f4SJaroslaw Pelczar } 60cbdb30f4SJaroslaw Pelczar} 61