summaryrefslogtreecommitdiffstats
path: root/source-builder
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-03-17 18:27:47 +1100
committerChris Johns <chrisj@rtems.org>2016-03-17 18:30:13 +1100
commitdb8ec8c99e9ac3259c255e04dce9937840a4fd61 (patch)
treef15d1de29665d8aba4a9c3b4a9968f70e7851829 /source-builder
parentsb: Fix the sensible url printer on Python3. (diff)
downloadrtems-source-builder-db8ec8c99e9ac3259c255e04dce9937840a4fd61.tar.bz2
bare: Update qemu package source hashes that are missing.
Add support for pkgconfig checks to fail when just downloading the source so it is actually downloaded on hosts that may have a package installed. Updates #2657.
Diffstat (limited to 'source-builder')
-rw-r--r--source-builder/sb/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py
index 8fb9ac0..732239f 100644
--- a/source-builder/sb/config.py
+++ b/source-builder/sb/config.py
@@ -420,6 +420,10 @@ class file:
return line
def _pkgconfig_check(self, test):
+ # Hack to by pass pkgconfig checks when just wanting to download the
+ # source.
+ if self.macros['_dry_run'] == '1' and self.macros['with_download'] == '1':
+ return '0'
ok = False
if type(test) == str:
test = test.split()