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:27:47 +1100
commit3fac45e90061b3459af97befa25b519ff1fe6650 (patch)
tree77b3c2ecc083d7dbcac7ecefc193cb5e7732db69 /source-builder
parentsb: Fix the sensible url printer on Python3. (diff)
downloadrtems-source-builder-3fac45e90061b3459af97befa25b519ff1fe6650.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()