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 packages :
18	haiku_loader.hpkg
19	haiku.hpkg
20	haiku_datatranslators.hpkg
21	haiku_$(TARGET_PACKAGING_ARCHS[2-]).hpkg
22	:
23	nameFromMetaInfo
24	;
25
26# import what is shared by all images
27include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions common-tail ] ;
28