mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Add the host to the build set tar file name if no target.
If building a host package use the host as the package tar file name prefix. This means the tar files will all start with the host name.
This commit is contained in:
parent
873016c249
commit
ce0f7a19c3
@ -58,7 +58,12 @@ class buildset:
|
||||
else:
|
||||
self.macros = copy.copy(macros)
|
||||
self.bset = bset
|
||||
self.bset_pkg = '%s-%s-set' % (self.macros.expand('%{_target}'), self.bset)
|
||||
_target = self.macros.expand('%{_target}')
|
||||
if len(_target):
|
||||
pkg_prefix = _target
|
||||
else:
|
||||
pkg_prefix = self.macros.expand('%{_host}')
|
||||
self.bset_pkg = '%s-%s-set' % (pkg_prefix, self.bset)
|
||||
self.mail_header = ''
|
||||
self.mail_report = ''
|
||||
self.build_failure = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user