xref: /haiku/src/system/boot/arch/sparc/Jamfile (revision 899e0ef82b5624ace2ccfa5f5a58c8ebee54aaef)
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		BootMergeObject [ FGristFiles boot_arch_$(TARGET_KERNEL_ARCH).o ] :
17			$(kernelGenericDriverSources)
18			arch_elf.cpp
19			: # additional flags
20			:
21			$(kernelArchObjects)
22			$(kernelLibArchObjects)
23		;
24
25		SEARCH on [ FGristFiles arch_elf.cpp arch_uart_8250.cpp ]
26		    = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH_DIR) ] ;
27
28		SEARCH on [ FGristFiles $(kernelGenericDriverSources) ]
29			= [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ;
30	}
31}
32