1SubDir HAIKU_TOP src system boot platform bios_ia32 ; 2 3SubDirHdrs $(HAIKU_TOP) headers private kernel boot platform bios_ia32 ; 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 _BOOT_PLATFORM_BIOS ; 12 13 defines = [ FDefines $(defines) ] ; 14 SubDirCcFlags $(defines) ; 15 SubDirC++Flags $(defines) -fno-rtti ; 16} 17 18local platform ; 19for platform in [ MultiBootSubDirSetup bios_ia32 ] { 20 on $(platform) { 21 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ; 22 23 BootMergeObject boot_platform_bios_ia32.o : 24 shell.S 25 start.cpp 26 debug.cpp 27 bios.cpp 28 bios_asm.S 29 console.cpp 30 serial.cpp 31 devices.cpp 32 keyboard.cpp 33 menu.cpp 34 mmu.cpp 35 multiboot.cpp 36 cpu.cpp 37 acpi.cpp 38 smp.cpp 39 smp_trampoline.S 40 support.S 41 video.cpp 42 apm.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_bios_ia32.a 54 ; 55 } 56} 57 58local flags = -f bin -O5 -dKERNEL_PLATFORM=$(HAIKU_KERNEL_PLATFORM) ; 59NASMFLAGS on stage1.bin = $(flags) ; 60 61Object stage1.bin : stage1.nasm ; 62