xref: /haiku/src/system/boot/platform/openfirmware/Jamfile (revision 9295c1f645806eca5d7699c985f7b509528c9eaa)
1SubDir HAIKU_TOP src system boot platform openfirmware ;
2
3SubDirC++Flags -D_BOOT_MODE -fno-rtti ;
4
5UsePrivateHeaders [ FDirName graphics common ] ;
6
7{
8	local defines = _BOOT_MODE _BOOT_PLATFORM_OPENFIRMWARE ;
9	defines = [ FDefines $(defines) ] ;
10	SubDirCcFlags $(defines) ;
11	SubDirC++Flags $(defines) -fno-rtti ;
12}
13
14local platform_src =
15	cpu.cpp
16	console.cpp
17	debug.cpp
18	devices.cpp
19	Handle.cpp
20	heap.cpp
21	menu.cpp
22	mmu.cpp
23	network.cpp
24	start.cpp
25	support.cpp
26	video.cpp
27;
28
29local kernel_src =
30	openfirmware.cpp
31	openfirmware_devices.cpp
32;
33
34local vesa_src =
35	# VESA/DDC EDID
36	decode_edid.c
37	dump_edid.c
38;
39
40local platform ;
41for platform in [ MultiBootSubDirSetup openfirmware ] {
42	on $(platform) {
43		BootMergeObject boot_platform_openfirmware.o :
44
45			$(platform_src)
46			$(kernel_src)
47			$(vesa_src)
48		:
49		:
50			boot_platform_generic_openfirmware.a
51			boot_platform_openfirmware_$(TARGET_ARCH).o
52		;
53
54#		SEARCH on [ FGristFiles $(genericPlatformSources) ]
55#			= [ FDirName $(HAIKU_TOP) src system boot platform generic ] ;
56		SEARCH on [ FGristFiles $(kernel_src) ]
57			= [ FDirName $(HAIKU_TOP) src system kernel platform openfirmware ] ;
58		SEARCH on [ FGristFiles $(vesa_src) ]
59			= [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ;
60
61	}
62}
63
64SubInclude HAIKU_TOP src system boot platform openfirmware arch ;
65