xref: /haiku/src/system/boot/platform/openfirmware/Jamfile (revision f6166140a197ba64ff01f84e57ff74a58ea2428d)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system boot platform openfirmware ;
25af32e75SAxel Dörfler
3f5aaa387SAndreas FärberUsePrivateHeaders [ FDirName graphics common ] ;
4f5aaa387SAndreas Färber
5e8f58ba4SPulkoMandy{
6*f6166140SAugustin Cavalier	local defines = _BOOT_PLATFORM_OPENFIRMWARE ;
7e8f58ba4SPulkoMandy	defines = [ FDefines $(defines) ] ;
8e8f58ba4SPulkoMandy	SubDirCcFlags $(defines) ;
9e8f58ba4SPulkoMandy	SubDirC++Flags $(defines) -fno-rtti ;
10e8f58ba4SPulkoMandy}
11f5aaa387SAndreas Färber
12e8f58ba4SPulkoMandylocal platform_src =
1339a7a69bSJérôme Duval	cpu.cpp
1444c11fdbSIngo Weinhold	console.cpp
15b6add3ffSAxel Dörfler	debug.cpp
1644c11fdbSIngo Weinhold	devices.cpp
1744c11fdbSIngo Weinhold	Handle.cpp
1844c11fdbSIngo Weinhold	heap.cpp
1944c11fdbSIngo Weinhold	menu.cpp
2044c11fdbSIngo Weinhold	mmu.cpp
21d561d0adSIngo Weinhold	network.cpp
22e050005aSAdrien Destugues	real_time_clock.cpp
23b6add3ffSAxel Dörfler	start.cpp
2440a5a5a0SAlexander von Gluck IV	support.cpp
2544c11fdbSIngo Weinhold	video.cpp
26e8f58ba4SPulkoMandy;
2744c11fdbSIngo Weinhold
28e8f58ba4SPulkoMandylocal kernel_src =
29bd185b41SIngo Weinhold	openfirmware.cpp
30f602da2bSIngo Weinhold	openfirmware_devices.cpp
31e8f58ba4SPulkoMandy;
32957a1b17SIngo Weinhold
33e8f58ba4SPulkoMandylocal vesa_src =
34f5aaa387SAndreas Färber	# VESA/DDC EDID
35f5aaa387SAndreas Färber	decode_edid.c
36f5aaa387SAndreas Färber	dump_edid.c
37e8f58ba4SPulkoMandy;
38f5aaa387SAndreas Färber
39e8f58ba4SPulkoMandylocal platform ;
40e8f58ba4SPulkoMandyfor platform in [ MultiBootSubDirSetup openfirmware ] {
41e8f58ba4SPulkoMandy	on $(platform) {
42e8f58ba4SPulkoMandy		BootMergeObject boot_platform_openfirmware.o :
43e8f58ba4SPulkoMandy
44e8f58ba4SPulkoMandy			$(platform_src)
45e8f58ba4SPulkoMandy			$(kernel_src)
46e8f58ba4SPulkoMandy			$(vesa_src)
475af32e75SAxel Dörfler		:
484499da39SPhilippe Houdoin		:
49e8f58ba4SPulkoMandy			boot_platform_generic_openfirmware.a
50cdbda49eSPulkoMandy			boot_platform_openfirmware_$(TARGET_ARCH).o
515af32e75SAxel Dörfler		;
525af32e75SAxel Dörfler
53e8f58ba4SPulkoMandy#		SEARCH on [ FGristFiles $(genericPlatformSources) ]
54e8f58ba4SPulkoMandy#			= [ FDirName $(HAIKU_TOP) src system boot platform generic ] ;
55e8f58ba4SPulkoMandy		SEARCH on [ FGristFiles $(kernel_src) ]
56957a1b17SIngo Weinhold			= [ FDirName $(HAIKU_TOP) src system kernel platform openfirmware ] ;
57e8f58ba4SPulkoMandy		SEARCH on [ FGristFiles $(vesa_src) ]
58e8f58ba4SPulkoMandy			= [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ;
59e8f58ba4SPulkoMandy
60e8f58ba4SPulkoMandy	}
61e8f58ba4SPulkoMandy}
625af32e75SAxel Dörfler
63338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src system boot platform openfirmware arch ;
64