summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Ramsauer <ralf.ramsauer@oth-regensburg.de>2017-01-09 19:43:29 +0100
committerChris Johns <chrisj@rtems.org>2017-01-10 08:45:24 +1100
commitb43c7d77374b3213d54d1a9eac0ef0e34f6e3004 (patch)
treed8e1d4c30d987743d7e88e0d40086546a13aa514
parentNewlib and GCC update for RTEMS 4.12 (diff)
downloadrtems-source-builder-b43c7d77374b3213d54d1a9eac0ef0e34f6e3004.tar.bz2
Add distro aliases for Gentoo hosts
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>
-rw-r--r--source-builder/sb/linux.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/source-builder/sb/linux.py b/source-builder/sb/linux.py
index 9d90288..f270121 100644
--- a/source-builder/sb/linux.py
+++ b/source-builder/sb/linux.py
@@ -119,6 +119,12 @@ def load():
'__chown': ('exe', 'required', '/usr/bin/chown') },
'suse' : { '__chgrp': ('exe', 'required', '/usr/bin/chgrp'),
'__chown': ('exe', 'required', '/usr/sbin/chown') },
+ 'gentoo' : { '__bzip2': ('exe', 'required', '/bin/bzip2'),
+ '__chgrp': ('exe', 'required', '/bin/chgrp'),
+ '__chown': ('exe', 'required', '/bin/chown'),
+ '__gzip': ('exe', 'required', '/bin/gzip'),
+ '__grep': ('exe', 'required', '/bin/grep'),
+ '__sed': ('exe', 'required', '/bin/sed') },
}
if distro in variations: