xref: /haiku/src/system/boot/platform/bios_ia32/Jamfile (revision 4d83a710f5cd775ec282f8dd28c22a460cdc05b0)
1SubDir HAIKU_TOP src system boot platform bios_ia32 ;
2
3SetupFeatureObjectsDir $(TARGET_BOOT_PLATFORM) ;
4
5SubDirHdrs $(HAIKU_TOP) headers private kernel boot platform $(TARGET_BOOT_PLATFORM) ;
6
7UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
8UsePrivateHeaders [ FDirName graphics common ] ;
9UsePrivateHeaders [ FDirName graphics vesa ] ;
10UsePrivateHeaders [ FDirName storage ] ;
11
12{
13	local defines = _BOOT_MODE ;
14
15	defines = [ FDefines $(defines) ] ;
16	SubDirCcFlags $(defines) ;
17	SubDirC++Flags $(defines) -fno-rtti ;
18}
19
20SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ;
21
22BootMergeObject boot_platform_bios_ia32.o :
23	shell.S
24	start.cpp
25	debug.cpp
26	bios.cpp
27	bios_asm.S
28	console.cpp
29	serial.cpp
30	devices.cpp
31	keyboard.cpp
32	menu.cpp
33	mmu.cpp
34	multiboot.cpp
35	cpu.cpp
36	acpi.cpp
37	smp.cpp
38	smp_trampoline.S
39	support.S
40	video.cpp
41	apm.cpp
42	hpet.cpp
43	interrupts.cpp
44	interrupts_asm.S
45	long.cpp
46	long_asm.S
47
48	# VESA/DDC EDID
49	decode_edid.c
50	dump_edid.c
51
52	:
53	: boot_platform_generic.a
54;
55
56NASMFLAGS on stage1.bin = -f bin -O5 ;
57
58Object stage1.bin : stage1.nasm ;
59