summaryrefslogtreecommitdiffstats
path: root/source-builder/sb
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-10-27 08:20:38 +1100
committerChris Johns <chrisj@rtems.org>2019-10-27 08:20:38 +1100
commit3e22fc45d2690ed8ec3f2a9b01b1f767f3802980 (patch)
treebe6999823baea63b4585715cf7b36dfc4a85aeb2 /source-builder/sb
parentsb/config: Add support for line continuation. (diff)
downloadrtems-source-builder-3e22fc45d2690ed8ec3f2a9b01b1f767f3802980.tar.bz2
sb/get-source: Add a macro to indicate the get-source command is running.
- Fix GDB's library checks to ignore errors when getting the source.
Diffstat (limited to 'source-builder/sb')
-rw-r--r--source-builder/sb/getsources.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/source-builder/sb/getsources.py b/source-builder/sb/getsources.py
index 4fc9395..7e516b5 100644
--- a/source-builder/sb/getsources.py
+++ b/source-builder/sb/getsources.py
@@ -281,6 +281,7 @@ class buildset:
self.macros = copy.copy(opts.defaults)
else:
self.macros = copy.copy(macros)
+ self.macros.define('_rsb_get_source')
log.trace('_bset: %s: macro defaults' % (bset))
log.trace(str(self.macros))
self.bset = bset