xref: /haiku/src/system/boot/platform/bios_ia32/Jamfile (revision 959ff00ddee8411dabb09211f3bfbd52d87229da)
1SubDir HAIKU_TOP src system boot platform bios_ia32 ;
2
3SubDirHdrs $(HAIKU_TOP) headers private kernel boot platform $(TARGET_BOOT_PLATFORM) ;
4
5UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
6UsePrivateHeaders [ FDirName graphics common ] ;
7UsePrivateHeaders [ FDirName graphics vesa ] ;
8UsePrivateHeaders [ FDirName storage ] ;
9
10{
11	local defines = _BOOT_MODE ;
12
13	defines = [ FDefines $(defines) ] ;
14	SubDirCcFlags $(defines) -Wall -Wno-multichar ;
15	SubDirC++Flags $(defines) -Wall -Wno-multichar -fno-rtti ;
16}
17
18SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ;
19
20KernelMergeObject boot_platform_bios_ia32.o :
21	shell.S
22	start.c
23	debug.c
24	bios.S
25	console.cpp
26	serial.cpp
27	devices.cpp
28	keyboard.cpp
29	menu.cpp
30	mmu.cpp
31	cpu.cpp
32	acpi.cpp
33	smp.cpp
34	smp_trampoline.S
35	support.S
36	video.cpp
37	apm.cpp
38	hpet.cpp
39
40	# generic
41	text_menu.cpp
42
43	# VESA/DDC EDID
44	decode_edid.c
45	dump_edid.c
46
47	: -fno-pic
48;
49
50SEARCH on [ FGristFiles text_menu.cpp ]
51	= [ FDirName $(HAIKU_TOP) src system boot platform generic ] ;
52
53# Tell the build system to where stage1.bin can be found, so it can be used
54# elsewhere.
55SEARCH on stage1.bin = $(SUBDIR) ;
56