xref: /haiku/src/system/boot/arch/sparc/Jamfile (revision 77fb9ca3e653f72d1d15c9f1a50c3d4287f680e0)
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 platform ;
9for platform in [ MultiBootSubDirSetup openfirmware ] {
10    on $(platform) {
11		DEFINES += _BOOT_MODE ;
12
13		BootMergeObject [ FGristFiles boot_arch_$(TARGET_KERNEL_ARCH).o ] :
14			debug_uart_8250.cpp
15			#arch_uart_8250.cpp
16			arch_elf.cpp
17			: # additional flags
18			:
19			$(kernelArchObjects)
20			$(kernelLibArchObjects)
21		;
22
23		SEARCH on [ FGristFiles arch_elf.cpp arch_uart_8250.cpp ]
24		    = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ;
25
26		SEARCH on [ FGristFiles debug_uart_8250.cpp ]
27			= [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ;
28	}
29}
30