mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Fix sb-build to reference the opts correctly.
This commit is contained in:
parent
318e0c3b04
commit
610ae576b2
@ -147,7 +147,7 @@ class build:
|
|||||||
|
|
||||||
def set_macros(self, macros):
|
def set_macros(self, macros):
|
||||||
if macros is None:
|
if macros is None:
|
||||||
self.macros = copy.copy(opts.defaults)
|
self.macros = copy.copy(self.opts.defaults)
|
||||||
else:
|
else:
|
||||||
self.macros = copy.copy(macros)
|
self.macros = copy.copy(macros)
|
||||||
if self.config:
|
if self.config:
|
||||||
@ -537,6 +537,7 @@ def run(args):
|
|||||||
optargs = { '--list-configs': 'List available configurations' }
|
optargs = { '--list-configs': 'List available configurations' }
|
||||||
opts = options.load(args, optargs)
|
opts = options.load(args, optargs)
|
||||||
log.notice('RTEMS Source Builder, Package Builder, %s' % (version.str()))
|
log.notice('RTEMS Source Builder, Package Builder, %s' % (version.str()))
|
||||||
|
opts.log_info()
|
||||||
if not check.host_setup(opts):
|
if not check.host_setup(opts):
|
||||||
if not opts.force():
|
if not opts.force():
|
||||||
raise error.general('host build environment is not set up' +
|
raise error.general('host build environment is not set up' +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user