PreprocessPackageInfo: add substitution

... HAIKU_SECONDARY_PACKAGING_ARCH_SUFFIX. It's "_<arch>" for a
secondary architecture and "" for the primary one.
This commit is contained in:
Ingo Weinhold
2013-08-10 15:04:48 +02:00
parent 4f57a2bd1a
commit 2910d9a7e0
+5
View File
@@ -50,6 +50,11 @@ rule PreprocessPackageInfo source : directory : architecture
defines += HAIKU_SECONDARY_PACKAGING_ARCH=$(secondaryArchitecture) ;
sedReplacements
+= %HAIKU_SECONDARY_PACKAGING_ARCH%,$(secondaryArchitecture) ;
sedReplacements +=
%HAIKU_SECONDARY_PACKAGING_ARCH_SUFFIX%,_$(secondaryArchitecture) ;
} else {
sedReplacements
+= %HAIKU_SECONDARY_PACKAGING_ARCH_SUFFIX%, ;
}
MakeLocate $(target) : $(directory) ;