[PATCH 2/2] This adds a way to print the host triplet
Chris Johns
chrisj at rtems.org
Fri Jul 16 04:37:44 UTC 2021
On 15/7/21 9:49 pm, Robin Müller wrote:
> I think this patch was forgotten so I'm just pushing it up again :-)
It was and sorry about that.
Minor change below ... no need to say "Displaying" as we know that. :)
if opts.get_arg('--list-host'):
print('Host operating system information: ')
print('Operating system: %s' % macro_expand(opts.defaults, '%{_os}'))
print('Number of processors: %s' % macro_expand(opts.defaults, '%{_ncpus}'))
print('Build architecture: %s' % macro_expand(opts.defaults, '%{_host_arch}'))
print('Host triplet: %s' % macro_expand(opts.defaults, '%{_host}'))
return True
A patch with that change is OK to be pushed if I do not get to it.
Thanks
Chris
More information about the devel
mailing list