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:
@@ -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) ;
|
||||
|
||||
Reference in New Issue
Block a user