The platform.dist() interface has been deprecated since Python 3.5, and
has been removed in Python 3.8.
Fixes:
Traceback (most recent call last):
File "/home/anders/work/rtems/rsb/source-builder/sb/options.py", line 682, in load
overrides = linux.load()
File "/home/anders/work/rtems/rsb/source-builder/sb/linux.py", line 60, in load
distro = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'
Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
Gentoo stores most of the basic stuff in /bin and not /usr/bin. Default
values do not work for Gentoo. Add 'gentoo' as a new variation.
Signed-off-by: Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de>
Set up the rules to manage the separate host and build setting to
allow a Canadian cross to complete.
Update the scripts to move the build directory and host/build
flags into the defaults so they are common for all build
configurations.
Refactor the options handling in defaults.py to allow the --jobs
option have varing specific parameters. The option supports 'none',
'max' and 'half' or a fraction to divide the number of CPUs or
an integer value which is the number of jobs. The --no-smp has
been removed.
The host specific modules have been changed to set the number of
CPUs in the defaults table.
Fixed the --keep-going to clean up is --always-clean is provided
even if the build has an error.