⛏️ index : haiku.git

SubDir HAIKU_TOP src system boot platform generic ;

UseBuildFeatureHeaders zlib ;
UsePrivateKernelHeaders ;

SubDirC++Flags -fno-rtti ;

local platform ;
for platform in [ MultiBootSubDirSetup ] {
	on $(platform) {
		BootStaticLibrary boot_platform_generic_$(platform:G=) :
			text_console.cpp
			text_menu.cpp
			video_splash.cpp
		;
		Includes [ FGristFiles video_splash.cpp ]
			: [ BuildFeatureAttribute zlib : headers ] ;

		local kernelDebugSources =
			font.cpp
			font_big.cpp
			frame_buffer_console.cpp
		;
		BootStaticLibrary boot_video_text_console_$(platform:G=) :
			$(kernelDebugSources)
			video_text_console.cpp
		;
		SEARCH on [ FGristFiles $(kernelDebugSources) ]
			= [ FDirName $(HAIKU_TOP) src system kernel debug ] ;
	}
}