xref: /haiku/src/system/boot/platform/bios_ia32/Jamfile (revision f6166140a197ba64ff01f84e57ff74a58ea2428d)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system boot platform bios_ia32 ;
25af32e75SAxel Dörfler
31f96a3cbSJessica HamiltonSubDirHdrs $(HAIKU_TOP) headers private kernel boot platform bios_ia32 ;
45af32e75SAxel Dörfler
55af32e75SAxel DörflerUsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
65d7d960fSAxel DörflerUsePrivateHeaders [ FDirName graphics common ] ;
75af32e75SAxel DörflerUsePrivateHeaders [ FDirName graphics vesa ] ;
85af32e75SAxel DörflerUsePrivateHeaders [ FDirName storage ] ;
95af32e75SAxel Dörfler
10afd6dfc8SAxel Dörfler{
11*f6166140SAugustin Cavalier	local defines = _BOOT_PLATFORM_BIOS ;
12afd6dfc8SAxel Dörfler
13afd6dfc8SAxel Dörfler	defines = [ FDefines $(defines) ] ;
1408e6655aSStephan Aßmus	SubDirCcFlags $(defines) ;
1508e6655aSStephan Aßmus	SubDirC++Flags $(defines) -fno-rtti ;
16afd6dfc8SAxel Dörfler}
175af32e75SAxel Dörfler
181f96a3cbSJessica Hamiltonlocal platform ;
191f96a3cbSJessica Hamiltonfor platform in [ MultiBootSubDirSetup bios_ia32 ] {
201f96a3cbSJessica Hamilton	on $(platform) {
215d7d960fSAxel Dörfler		SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ;
225d7d960fSAxel Dörfler
2365ad1ba3SAlex Smith		BootMergeObject boot_platform_bios_ia32.o :
245af32e75SAxel Dörfler			shell.S
25b6add3ffSAxel Dörfler			start.cpp
2628a2172cSIngo Weinhold			debug.cpp
272e8aa19cSIngo Weinhold			bios.cpp
282e8aa19cSIngo Weinhold			bios_asm.S
295af32e75SAxel Dörfler			console.cpp
305af32e75SAxel Dörfler			serial.cpp
315af32e75SAxel Dörfler			devices.cpp
325af32e75SAxel Dörfler			keyboard.cpp
335af32e75SAxel Dörfler			menu.cpp
345af32e75SAxel Dörfler			mmu.cpp
3556c6c0feSFrançois Revol			multiboot.cpp
365af32e75SAxel Dörfler			cpu.cpp
3785f26688SStefano Ceccherini			acpi.cpp
388fcd6b8eSAxel Dörfler			smp.cpp
395af32e75SAxel Dörfler			smp_trampoline.S
405af32e75SAxel Dörfler			support.S
415af32e75SAxel Dörfler			video.cpp
42ba61df6dSAxel Dörfler			apm.cpp
432e8aa19cSIngo Weinhold			interrupts.cpp
442e8aa19cSIngo Weinhold			interrupts_asm.S
45e5fc2bfcSAlex Smith			long.cpp
46e5fc2bfcSAlex Smith			long_asm.S
474c62b091SIngo Weinhold
485d7d960fSAxel Dörfler			# VESA/DDC EDID
495d7d960fSAxel Dörfler			decode_edid.c
505d7d960fSAxel Dörfler			dump_edid.c
515d7d960fSAxel Dörfler
52bd060476SFredrik Holmqvist			:
531f96a3cbSJessica Hamilton			: boot_platform_generic_bios_ia32.a
545af32e75SAxel Dörfler		;
551f96a3cbSJessica Hamilton	}
561f96a3cbSJessica Hamilton}
57338b8dc3SIngo Weinhold
581f96a3cbSJessica Hamiltonlocal flags = -f bin -O5 -dKERNEL_PLATFORM=$(HAIKU_KERNEL_PLATFORM) ;
591f96a3cbSJessica HamiltonNASMFLAGS on stage1.bin = $(flags) ;
60e5476626SJessica Hamilton
61e5476626SJessica HamiltonObject stage1.bin : stage1.nasm ;
62