2010-01-12 20:09:30 +00:00
|
|
|
# Companion tools config options
|
|
|
|
|
|
|
|
menu "Companion tools"
|
|
|
|
|
2014-03-11 21:11:43 +00:00
|
|
|
config COMP_TOOLS_FORCE_make_3_81
|
|
|
|
def_bool y
|
Give companion tools some love.
Allow selection of make/m4/... version. Support imports of new versions
via addToolVersion.sh. Import newest versions of the companion tools.
One non-trivial change is the handling of make versions. Existing code
was not handling make companion tool as described (see the previous
commit). However, since most modern systems have make 4.x, that previous
commit made crosstool-ng always build make as a companion tool.
This traces back to the commit dd15c93 from 2014. That commit's log message
says that actually it was 3.81 which broke the build for certain component
(it was originally breaking eglibc, but I noticed it was breaking current
glibc on powerpc64), and introduced an option to force using 3.81 by
"components that really need it". It looks like in 2.5 years we haven't
seen any such components that really need make 3.81, and (given that make
has already had a few releases since 3.81) we're unlikely to see them
in the future.
Hence, the configure check is changed from "exactly 3.81" to "3.81 or newer".
In its current form, configure will accept make 3.80+, and will not require
make as a companion tool for 3.81+. We might want to bump the latter check
to even newer version given the claim from dd15c93. Killed
COMP_TOOLS_make_3_81_NEEDED.
Anyway, I retained 3.81 just in case; ditto for m4 1.14.3, autoconf 2.65
and automake 1.11.1.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-21 20:09:54 +00:00
|
|
|
depends on ! CONFIGURE_has_make_3_81_or_newer
|
2014-02-20 18:23:08 +00:00
|
|
|
select COMP_TOOLS
|
|
|
|
select COMP_TOOLS_make
|
|
|
|
|
2010-01-12 20:09:30 +00:00
|
|
|
comment "READ HELP before you say 'Y' below !!!"
|
2014-02-20 18:23:08 +00:00
|
|
|
|
2010-01-12 20:09:30 +00:00
|
|
|
config COMP_TOOLS
|
|
|
|
bool
|
|
|
|
prompt "Build some companion tools"
|
|
|
|
help
|
|
|
|
Crosstool-NG relies on some external tools to be recent enough, namely:
|
Give companion tools some love.
Allow selection of make/m4/... version. Support imports of new versions
via addToolVersion.sh. Import newest versions of the companion tools.
One non-trivial change is the handling of make versions. Existing code
was not handling make companion tool as described (see the previous
commit). However, since most modern systems have make 4.x, that previous
commit made crosstool-ng always build make as a companion tool.
This traces back to the commit dd15c93 from 2014. That commit's log message
says that actually it was 3.81 which broke the build for certain component
(it was originally breaking eglibc, but I noticed it was breaking current
glibc on powerpc64), and introduced an option to force using 3.81 by
"components that really need it". It looks like in 2.5 years we haven't
seen any such components that really need make 3.81, and (given that make
has already had a few releases since 3.81) we're unlikely to see them
in the future.
Hence, the configure check is changed from "exactly 3.81" to "3.81 or newer".
In its current form, configure will accept make 3.80+, and will not require
make as a companion tool for 3.81+. We might want to bump the latter check
to even newer version given the claim from dd15c93. Killed
COMP_TOOLS_make_3_81_NEEDED.
Anyway, I retained 3.81 just in case; ditto for m4 1.14.3, autoconf 2.65
and automake 1.11.1.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-21 20:09:54 +00:00
|
|
|
make >= 3.81
|
2010-01-12 21:47:14 +00:00
|
|
|
m4 >= 1.4.12
|
2010-01-12 20:09:30 +00:00
|
|
|
autoconf >= 2.63
|
2010-01-12 21:47:36 +00:00
|
|
|
automake >= 1.10.2
|
2010-01-12 21:47:57 +00:00
|
|
|
libtool >= 2.2.4
|
2010-01-12 20:09:30 +00:00
|
|
|
|
|
|
|
If your system has older versions, we can build them for you,
|
|
|
|
but you are strongly encouraged to update your system instead!
|
|
|
|
|
2016-11-29 00:55:22 +00:00
|
|
|
config COMP_TOOLS_FOR_HOST
|
|
|
|
bool
|
|
|
|
prompt "Install companion tools for host"
|
|
|
|
help
|
|
|
|
Enable this option if you want to include the selected companion
|
|
|
|
tools into the final toolchain (rather than just using them
|
|
|
|
to build it).
|
|
|
|
|
|
|
|
if COMP_TOOLS || COMP_TOOLS_FOR_HOST
|
Give companion tools some love.
Allow selection of make/m4/... version. Support imports of new versions
via addToolVersion.sh. Import newest versions of the companion tools.
One non-trivial change is the handling of make versions. Existing code
was not handling make companion tool as described (see the previous
commit). However, since most modern systems have make 4.x, that previous
commit made crosstool-ng always build make as a companion tool.
This traces back to the commit dd15c93 from 2014. That commit's log message
says that actually it was 3.81 which broke the build for certain component
(it was originally breaking eglibc, but I noticed it was breaking current
glibc on powerpc64), and introduced an option to force using 3.81 by
"components that really need it". It looks like in 2.5 years we haven't
seen any such components that really need make 3.81, and (given that make
has already had a few releases since 3.81) we're unlikely to see them
in the future.
Hence, the configure check is changed from "exactly 3.81" to "3.81 or newer".
In its current form, configure will accept make 3.80+, and will not require
make as a companion tool for 3.81+. We might want to bump the latter check
to even newer version given the claim from dd15c93. Killed
COMP_TOOLS_make_3_81_NEEDED.
Anyway, I retained 3.81 just in case; ditto for m4 1.14.3, autoconf 2.65
and automake 1.11.1.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-21 20:09:54 +00:00
|
|
|
source "config.gen/companion_tools.in"
|
2010-01-12 20:09:30 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
endmenu
|