Add AddPackageFilesToHaikuImage rule
This commit is contained in:
@@ -200,7 +200,7 @@ SYSTEM_ADD_ONS_FILE_SYSTEMS = bfs bindfs btrfs cdda exfat ext2 fat iso9660 nfs
|
||||
# build the haiku system package and add it
|
||||
include [ FDirName $(HAIKU_BUILD_RULES_DIR) HaikuPackages ] ;
|
||||
|
||||
AddFilesToHaikuImage system packages : haiku.hpkg ;
|
||||
AddPackageFilesToHaikuImage system : haiku.hpkg ;
|
||||
|
||||
|
||||
AddSymlinkToHaikuImage . : /boot/common/apps ;
|
||||
|
||||
@@ -862,6 +862,11 @@ rule AddBootModuleSymlinksToHaikuImage targets
|
||||
: $(targets) ;
|
||||
}
|
||||
|
||||
rule AddPackageFilesToHaikuImage location : packages
|
||||
{
|
||||
AddFilesToHaikuImage $(location) packages : $(packages) ;
|
||||
}
|
||||
|
||||
rule AddOptionalHaikuImagePackages packages
|
||||
{
|
||||
local package ;
|
||||
|
||||
@@ -579,8 +579,8 @@ if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ] && $(TARGET_ARCH) = x86 {
|
||||
$(HAIKU_GCC_VERSION[1]) ;
|
||||
}
|
||||
|
||||
AddFilesToHaikuImage system packages : haiku_devel.hpkg ;
|
||||
AddFilesToHaikuImage common packages : makefile_engine.hpkg ;
|
||||
AddPackageFilesToHaikuImage system : haiku_devel.hpkg ;
|
||||
AddPackageFilesToHaikuImage common : makefile_engine.hpkg ;
|
||||
}
|
||||
|
||||
|
||||
@@ -1515,8 +1515,8 @@ if [ IsOptionalHaikuImagePackageAdded WebPositive ] {
|
||||
|
||||
# Welcome
|
||||
if [ IsOptionalHaikuImagePackageAdded Welcome ] {
|
||||
AddFilesToHaikuImage system packages : haiku_userguide.hpkg ;
|
||||
AddFilesToHaikuImage system packages : haiku_welcome.hpkg ;
|
||||
AddPackageFilesToHaikuImage system : haiku_userguide.hpkg ;
|
||||
AddPackageFilesToHaikuImage system : haiku_welcome.hpkg ;
|
||||
|
||||
AddSymlinkToHaikuImage home Desktop : /boot/system/bin/welcome
|
||||
: Welcome ;
|
||||
|
||||
Reference in New Issue
Block a user