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