Add HAIKU_PORTER_EXTRA_OPTIONS variable.

* This can be used to add arbitrary options to invocations of 
  haikuporter.
This commit is contained in:
Oliver Tappe 2014-06-23 13:54:29 +02:00
parent 6b87960fe6
commit 4e37addd2f

View File

@ -370,10 +370,12 @@ actions BootstrapRepositoryFetchPackage1
$(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR)
if [ -n "$secondaryCrossDevelPackages" ]; then
$(HOST_HAIKU_PORTER) -j$(HAIKU_PORTER_CONCURRENT_JOBS) \
$(HAIKU_PORTER_EXTRA_OPTIONS) \
--cross-devel-package "$haikuCrossDevelPackage" \
"$secondaryCrossDevelPackages" $portName
else
$(HOST_HAIKU_PORTER) -j$(HAIKU_PORTER_CONCURRENT_JOBS) \
$(HAIKU_PORTER_EXTRA_OPTIONS) \
--cross-devel-package "$haikuCrossDevelPackage" $portName
fi
}
@ -640,9 +642,11 @@ actions BuildHaikuPortsSourcePackageDirectory1
if [ -n "$secondaryCrossDevelPackages" ]; then
$(HOST_HAIKU_PORTER) --cross-devel-package "$haikuCrossDevelPackage" \
"$secondaryCrossDevelPackages" \
$(HAIKU_PORTER_EXTRA_OPTIONS) \
--create-source-packages-for-bootstrap --portsfile $packageList
else
$(HOST_HAIKU_PORTER) --cross-devel-package "$haikuCrossDevelPackage" \
$(HAIKU_PORTER_EXTRA_OPTIONS) \
--create-source-packages-for-bootstrap --portsfile $packageList
fi
}