xref: /haiku/src/system/boot/platform/openfirmware/Jamfile (revision cdbda49e8857ec6958c91a500cbc322304bd487f)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system boot platform openfirmware ;
25af32e75SAxel Dörfler
31ea618c5SJérôme DuvalSubDirC++Flags -D_BOOT_MODE -fno-rtti ;
45af32e75SAxel Dörfler
5f5aaa387SAndreas FärberUsePrivateHeaders [ FDirName graphics common ] ;
6f5aaa387SAndreas Färber
7e8f58ba4SPulkoMandy{
8e8f58ba4SPulkoMandy	local defines = _BOOT_MODE _BOOT_PLATFORM_OPENFIRMWARE ;
9e8f58ba4SPulkoMandy	defines = [ FDefines $(defines) ] ;
10e8f58ba4SPulkoMandy	SubDirCcFlags $(defines) ;
11e8f58ba4SPulkoMandy	SubDirC++Flags $(defines) -fno-rtti ;
12e8f58ba4SPulkoMandy}
13f5aaa387SAndreas Färber
14e8f58ba4SPulkoMandylocal platform_src =
1544c11fdbSIngo Weinhold	console.cpp
16b6add3ffSAxel Dörfler	debug.cpp
1744c11fdbSIngo Weinhold	devices.cpp
1844c11fdbSIngo Weinhold	Handle.cpp
1944c11fdbSIngo Weinhold	heap.cpp
2044c11fdbSIngo Weinhold	menu.cpp
2144c11fdbSIngo Weinhold	mmu.cpp
22d561d0adSIngo Weinhold	network.cpp
23e55e1a0eSIngo Weinhold	real_time_clock.cpp
24b6add3ffSAxel Dörfler	start.cpp
2540a5a5a0SAlexander von Gluck IV	support.cpp
2644c11fdbSIngo Weinhold	video.cpp
27e8f58ba4SPulkoMandy;
2844c11fdbSIngo Weinhold
29e8f58ba4SPulkoMandylocal kernel_src =
30bd185b41SIngo Weinhold	openfirmware.cpp
31f602da2bSIngo Weinhold	openfirmware_devices.cpp
32e8f58ba4SPulkoMandy;
33957a1b17SIngo Weinhold
34e8f58ba4SPulkoMandylocal vesa_src =
35f5aaa387SAndreas Färber	# VESA/DDC EDID
36f5aaa387SAndreas Färber	decode_edid.c
37f5aaa387SAndreas Färber	dump_edid.c
38e8f58ba4SPulkoMandy;
39f5aaa387SAndreas Färber
40e8f58ba4SPulkoMandylocal platform ;
41e8f58ba4SPulkoMandyfor platform in [ MultiBootSubDirSetup openfirmware ] {
42e8f58ba4SPulkoMandy	on $(platform) {
43e8f58ba4SPulkoMandy		BootMergeObject boot_platform_openfirmware.o :
44e8f58ba4SPulkoMandy
45e8f58ba4SPulkoMandy			$(platform_src)
46e8f58ba4SPulkoMandy			$(kernel_src)
47e8f58ba4SPulkoMandy			$(vesa_src)
485af32e75SAxel Dörfler		:
494499da39SPhilippe Houdoin		:
50e8f58ba4SPulkoMandy			boot_platform_generic_openfirmware.a
51*cdbda49eSPulkoMandy			boot_platform_openfirmware_$(TARGET_ARCH).o
525af32e75SAxel Dörfler		;
535af32e75SAxel Dörfler
54e8f58ba4SPulkoMandy#		SEARCH on [ FGristFiles $(genericPlatformSources) ]
55e8f58ba4SPulkoMandy#			= [ FDirName $(HAIKU_TOP) src system boot platform generic ] ;
56e8f58ba4SPulkoMandy		SEARCH on [ FGristFiles $(kernel_src) ]
57957a1b17SIngo Weinhold			= [ FDirName $(HAIKU_TOP) src system kernel platform openfirmware ] ;
58e8f58ba4SPulkoMandy		SEARCH on [ FGristFiles $(vesa_src) ]
59e8f58ba4SPulkoMandy			= [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ;
60e8f58ba4SPulkoMandy
61e8f58ba4SPulkoMandy	}
62e8f58ba4SPulkoMandy}
635af32e75SAxel Dörfler
64338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src system boot platform openfirmware arch ;
65