xref: /haiku/src/system/boot/platform/pxe_ia32/Jamfile (revision f73f5d4c42a01ece688cbb57b5d332cc0f68b2c6)
1SubDir HAIKU_TOP src system boot platform pxe_ia32 ;
2
3SubDirHdrs $(SUBDIR) $(DOTDOT) bios_ia32 ;
4SubDirHdrs $(HAIKU_TOP) headers private kernel boot platform bios_ia32 ;
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 _PXE_ENV ;
14
15	defines = [ FDefines $(defines) ] ;
16	SubDirCcFlags $(defines) ;
17	SubDirC++Flags $(defines) -fno-rtti ;
18}
19
20local bios_ia32_src =
21	start.cpp
22	debug.cpp
23	bios.cpp
24	bios_asm.S
25	console.cpp
26	serial.cpp
27	keyboard.cpp
28	menu.cpp
29	mmu.cpp
30	multiboot.cpp
31	cpu.cpp
32	acpi.cpp
33	smp.cpp
34	support.S
35	video.cpp
36	hpet.cpp
37	apm.cpp
38	interrupts.cpp
39	interrupts_asm.S
40	long.cpp
41	long_asm.S
42;
43
44local bios_ia32_edid_src =
45	decode_edid.c
46	dump_edid.c
47;
48
49
50BootMergeObject boot_platform_pxe_ia32.o :
51	pxe_stage2.S
52	smp_trampoline.S
53	pxe_bios.S
54	devices.cpp
55	network.cpp
56	pxe_undi.cpp
57	$(bios_ia32_src)
58	$(bios_ia32_edid_src)
59
60	: -fno-pic
61	: boot_platform_generic.a
62;
63
64
65SEARCH on [ FGristFiles $(bios_ia32_src) ]
66	= [ FDirName $(SUBDIR) $(DOTDOT) bios_ia32 ] ;
67
68SEARCH on [ FGristFiles $(bios_ia32_edid_src) ]
69	= [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ;
70
71SEARCH on [ FGristFiles $(genericPlatformSources) ]
72	= [ FDirName $(HAIKU_TOP) src system boot platform generic ] ;
73
74# We also need the bios_ia32 stage1.bin for building bin/makebootable
75SEARCH on stage1.bin
76 	= [ FDirName $(SUBDIR) $(DOTDOT) bios_ia32 ] ;
77