1SubDir HAIKU_TOP src system boot platform generic ;
2
3UseBuildFeatureHeaders zlib ;
4UsePrivateKernelHeaders ;
5
6SubDirC++Flags -fno-rtti ;
7
8local platform ;
9for platform in [ MultiBootSubDirSetup ] {
10	on $(platform) {
11		BootStaticLibrary boot_platform_generic_$(platform:G=) :
12			text_console.cpp
13			text_menu.cpp
14			video_blit.cpp
15			video_splash.cpp
16		;
17		Includes [ FGristFiles video_splash.cpp ]
18			: [ BuildFeatureAttribute zlib : headers ] ;
19
20
21		local kernelDebugSources =
22			font.cpp
23			font_spleen.cpp
24			frame_buffer_console.cpp
25		;
26		BootStaticLibrary boot_video_text_console_$(platform:G=) :
27			$(kernelDebugSources)
28			video_text_console.cpp
29		;
30		SEARCH on [ FGristFiles $(kernelDebugSources) ]
31			= [ FDirName $(HAIKU_TOP) src system kernel debug ] ;
32	}
33}
34