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 common ] ; 7UsePrivateHeaders [ FDirName graphics vesa ] ; 8UsePrivateHeaders [ FDirName storage ] ; 9 10{ 11 local defines = _BOOT_MODE ; 12 13 defines = [ FDefines $(defines) ] ; 14 SubDirCcFlags $(defines) -Wall -Wno-multichar ; 15 SubDirC++Flags $(defines) -Wall -Wno-multichar -fno-rtti ; 16} 17 18SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ; 19 20local genericPlatformSources = 21 text_menu.cpp 22 video_blit.cpp 23 video_splash.cpp 24 video_rle.cpp 25; 26 27KernelMergeObject boot_platform_bios_ia32.o : 28 shell.S 29 start.c 30 debug.cpp 31 bios.S 32 console.cpp 33 serial.cpp 34 devices.cpp 35 keyboard.cpp 36 menu.cpp 37 mmu.cpp 38 multiboot.cpp 39 cpu.cpp 40 acpi.cpp 41 smp.cpp 42 smp_trampoline.S 43 support.S 44 video.cpp 45 apm.cpp 46 hpet.cpp 47 48 $(genericPlatformSources) 49 50 # VESA/DDC EDID 51 decode_edid.c 52 dump_edid.c 53 54 : -fno-pic 55; 56 57SEARCH on [ FGristFiles $(genericPlatformSources) ] 58 = [ FDirName $(HAIKU_TOP) src system boot platform generic ] ; 59 60# Tell the build system to where stage1.bin can be found, so it can be used 61# elsewhere. 62SEARCH on stage1.bin = $(SUBDIR) ; 63