xref: /haiku/build/jam/images/HaikuImage (revision 7d6915b4d08ffe728cd38af02843d5e98ddfe0db)
1# This file defines what ends up on the Haiku image (respectively in the Haiku
2# installation directory) and it executes the rules building the image
3# (respectively installing the files in the installation directory).
4
5# import the defintions of the image content
6if $(HAIKU_BUILD_TYPE) = bootstrap {
7	include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions bootstrap ] ;
8} else if $(HAIKU_BUILD_TYPE) = minimum {
9	include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions minimum ] ;
10} else {
11	include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions regular ] ;
12}
13
14# build the haiku system packages and add them
15include [ FDirName $(HAIKU_BUILD_RULES_DIR) HaikuPackages ] ;
16
17AddPackageFilesToHaikuImage system :
18	haiku_loader.hpkg
19	haiku.hpkg
20	haiku_$(TARGET_PACKAGING_ARCHS[2-]).hpkg
21	:
22	nameFromMetaInfo
23	;
24
25# import what is shared by all images
26include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions common-tail ] ;
27