xref: /haiku/src/system/boot/arch/sparc/Jamfile (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1SubDir HAIKU_TOP src system boot arch sparc ;
2
3local kernelLibArchObjects =
4	<src!system!kernel!lib!arch!$(TARGET_ARCH)>memcpy.o
5	<src!system!kernel!lib!arch!$(TARGET_ARCH)>memset.o
6;
7
8local kernelGenericDriverSources =
9	debug_uart.cpp
10	debug_uart_8250.cpp
11;
12
13local platform ;
14for platform in [ MultiBootSubDirSetup openfirmware ] {
15    on $(platform) {
16		DEFINES += _BOOT_MODE ;
17
18		BootMergeObject [ FGristFiles boot_arch_$(TARGET_KERNEL_ARCH).o ] :
19			$(kernelGenericDriverSources)
20			arch_elf.cpp
21			: # additional flags
22			:
23			$(kernelArchObjects)
24			$(kernelLibArchObjects)
25		;
26
27		SEARCH on [ FGristFiles arch_elf.cpp arch_uart_8250.cpp ]
28		    = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH_DIR) ] ;
29
30		SEARCH on [ FGristFiles $(kernelGenericDriverSources) ]
31			= [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ;
32	}
33}
34