mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Build set reports are the package name and not the config name.
This commit is contained in:
parent
5e502a9ab1
commit
06834cfcf5
@ -27,6 +27,7 @@ import distutils.dir_util
|
||||
import glob
|
||||
import operator
|
||||
import os
|
||||
import sys
|
||||
|
||||
try:
|
||||
import build
|
||||
@ -37,10 +38,10 @@ try:
|
||||
import path
|
||||
import reports
|
||||
except KeyboardInterrupt:
|
||||
print 'user terminated'
|
||||
print 'abort: user terminated'
|
||||
sys.exit(1)
|
||||
except:
|
||||
print 'unknown application load error'
|
||||
print 'error: unknown application load error'
|
||||
sys.exit(1)
|
||||
|
||||
#
|
||||
@ -110,7 +111,7 @@ class buildset:
|
||||
raise error.general('invalid report format: %s' % (format[1]))
|
||||
buildroot = _build.config.abspath('%{buildroot}')
|
||||
prefix = self.opts.expand('%{_prefix}', self.defaults)
|
||||
name = path.splitext(path.basename(_config))[0] + ext
|
||||
name = _build.main_package().name() + ext
|
||||
outpath = path.host(path.join(buildroot, prefix, 'rtems-source-builder'))
|
||||
outname = path.host(path.join(outpath, name))
|
||||
_notice(self.opts, 'reporting: %s -> %s' % (_config, name))
|
||||
@ -354,7 +355,7 @@ def run():
|
||||
except error.exit, eerr:
|
||||
pass
|
||||
except KeyboardInterrupt:
|
||||
_notice(opts, 'user terminated')
|
||||
_notice(opts, 'abort: user terminated')
|
||||
sys.exit(1)
|
||||
sys.exit(0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user