[rtems-source-builder commit] Fix sb-build to reference the opts correctly.
Chris Johns
chrisj at rtems.org
Wed Feb 24 02:01:14 UTC 2016
Module: rtems-source-builder
Branch: 4.11
Commit: 7518590ec2b2f7b80e74ed866ffa4bad4d64233e
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=7518590ec2b2f7b80e74ed866ffa4bad4d64233e
Author: Chris Johns <chrisj at rtems.org>
Date: Mon Feb 22 17:37:37 2016 +1100
Fix sb-build to reference the opts correctly.
---
source-builder/sb/build.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/source-builder/sb/build.py b/source-builder/sb/build.py
index 70241ea..ad24e86 100644
--- a/source-builder/sb/build.py
+++ b/source-builder/sb/build.py
@@ -147,7 +147,7 @@ class build:
def set_macros(self, macros):
if macros is None:
- self.macros = copy.copy(opts.defaults)
+ self.macros = copy.copy(self.opts.defaults)
else:
self.macros = copy.copy(macros)
if self.config:
@@ -537,6 +537,7 @@ def run(args):
optargs = { '--list-configs': 'List available configurations' }
opts = options.load(args, optargs)
log.notice('RTEMS Source Builder, Package Builder, %s' % (version.str()))
+ opts.log_info()
if not check.host_setup(opts):
if not opts.force():
raise error.general('host build environment is not set up' +
More information about the vc
mailing list