PackageRules: add secondaryArch to the packageInfo grist.

this fixes the generation of multiple secondary architecture package infos.
This commit is contained in:
Jérôme Duval
2018-07-23 20:54:14 +02:00
parent 46bf100be4
commit 46f078c0a3
+5 -1
View File
@@ -49,7 +49,11 @@ rule PreprocessPackageInfo source : directory : architecture
[ FDirName $(HAIKU_PACKAGE_INFOS_DIR) generic ]
;
local target = $(source:BSG=package-info)-package-info ;
local grist = package-info ;
if $(secondaryArchitecture) {
grist = $(grist)$(secondaryArchitecture) ;
}
local target = $(source:BSG=$(grist))-package-info ;
MakeLocate $(target) : $(directory) ;
PreprocessPackageOrRepositoryInfo $(target) : $(source) : $(architecture)