xref: /haiku/build/jam/images/HaikuImage (revision 268f99dd7dc4bd7474a8bd2742d3f1ec1de6752a)
1e8c5236aSIngo Weinhold# This file defines what ends up on the Haiku image (respectively in the Haiku
2e8c5236aSIngo Weinhold# installation directory) and it executes the rules building the image
3e8c5236aSIngo Weinhold# (respectively installing the files in the installation directory).
4e8c5236aSIngo Weinhold
5ff35d6c1SOliver Tappe# import the defintions of the image content
6a8c098a3SOliver Tappeif $(HAIKU_BUILD_TYPE) = bootstrap {
7ff35d6c1SOliver Tappe	include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions bootstrap ] ;
8a8c098a3SOliver Tappe} else if $(HAIKU_BUILD_TYPE) = minimum {
9ff35d6c1SOliver Tappe	include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions minimum ] ;
10ff35d6c1SOliver Tappe} else {
11ff35d6c1SOliver Tappe	include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions regular ] ;
1269c69a7dSIngo Weinhold}
1369c69a7dSIngo Weinhold
14e8c5236aSIngo Weinhold# build the haiku system packages and add them
15e8c5236aSIngo Weinholdinclude [ FDirName $(HAIKU_BUILD_RULES_DIR) HaikuPackages ] ;
16e8c5236aSIngo Weinhold
174f44282cSAdrien DestuguesAddPackageFilesToHaikuImage system packages :
18111e76b7SIngo Weinhold	haiku_loader.hpkg
19271e9484SIngo Weinhold	haiku.hpkg
20*63b76faeSAugustin Cavalier	haiku_datatranslators.hpkg
21271e9484SIngo Weinhold	haiku_$(TARGET_PACKAGING_ARCHS[2-]).hpkg
22a27d687eSIngo Weinhold	:
23a27d687eSIngo Weinhold	nameFromMetaInfo
24271e9484SIngo Weinhold	;
25e8c5236aSIngo Weinhold
26ff35d6c1SOliver Tappe# import what is shared by all images
27ff35d6c1SOliver Tappeinclude [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions common-tail ] ;
28