mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 22:52:23 +00:00
87bfd55b3b
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 commitdd15c93
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 fromdd15c93
. 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>
42 lines
664 B
Plaintext
42 lines
664 B
Plaintext
# GNU make
|
|
|
|
## help GNU make
|
|
|
|
choice
|
|
bool
|
|
prompt "make version"
|
|
# Don't remove next line
|
|
# CT_INSERT_VERSION_BELOW
|
|
|
|
config MAKE_V_4_2_1
|
|
bool
|
|
prompt "4.2.1"
|
|
|
|
config MAKE_V_4_1
|
|
bool
|
|
prompt "4.1"
|
|
|
|
config MAKE_V_4_0
|
|
bool
|
|
prompt "4.0"
|
|
|
|
config MAKE_V_3_81
|
|
bool
|
|
prompt "3.81"
|
|
|
|
endchoice
|
|
|
|
config MAKE_GMAKE_SYMLINK
|
|
bool
|
|
prompt "Add gmake symlink to companion gnu/make"
|
|
depends on COMP_TOOLS_make
|
|
|
|
config MAKE_VERSION
|
|
string
|
|
# Don't remove next line
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
|
default "4.2.1" if MAKE_V_4_2_1
|
|
default "4.1" if MAKE_V_4_1
|
|
default "4.0" if MAKE_V_4_0
|
|
default "3.81" if MAKE_V_3_81
|