xref: /haiku/src/system/boot/platform/bios_ia32/Jamfile (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
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 vesa ] ;
7UsePrivateHeaders [ FDirName storage ] ;
8
9{
10	local defines = _BOOT_MODE ;
11
12	defines = [ FDefines $(defines) ] ;
13	SubDirCcFlags $(defines) -Wall -Wno-multichar ;
14	SubDirC++Flags $(defines) -Wall -Wno-multichar -fno-rtti ;
15}
16
17KernelMergeObject boot_platform_bios_ia32.o :
18	shell.S
19	start.c
20	debug.c
21	bios.S
22	console.cpp
23	serial.cpp
24	devices.cpp
25	keyboard.cpp
26	menu.cpp
27	mmu.cpp
28	cpu.cpp
29	smp.cpp
30	smp_trampoline.S
31	support.S
32	video.cpp
33	apm.cpp
34
35	# generic
36	text_menu.cpp
37	: -fno-pic
38;
39
40SEARCH on [ FGristFiles text_menu.cpp ]
41	= [ FDirName $(HAIKU_TOP) src system boot platform generic ] ;
42
43# Tell the build system to where stage1.bin can be found, so it can be used
44# elsewhere.
45SEARCH on stage1.bin = $(SUBDIR) ;
46