mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 15:06:42 +00:00
c88bbca7ab
We had following problem: We're building a toolchain with an old glibc version for compatibility with old Linux distributions (glibc 2.9). This version requires make < 4 to build. However, the configure script of glibc looks for make in the order "gnumake", "gmake" and "make". So when "gmake" is available in the system (which is the case on Gentoo Linux per default, unfortunately), then configure finds the system gmake 4.1 instead of the ct-ng make 3.82. This patch adds an option to install a symlink so that 'gmake' is also available in the old version when building toolchains. Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
62 lines
1.2 KiB
Plaintext
62 lines
1.2 KiB
Plaintext
# Companion tools config options
|
|
|
|
menu "Companion tools"
|
|
|
|
# Tools that require make-3.81 to build should select this:
|
|
config COMP_TOOLS_make_3_81_NEEDED
|
|
bool
|
|
|
|
config COMP_TOOLS_FORCE_make_3_81
|
|
def_bool y
|
|
depends on COMP_TOOLS_make_3_81_NEEDED
|
|
depends on ! CONFIGURE_has_make381
|
|
select COMP_TOOLS
|
|
select COMP_TOOLS_make
|
|
|
|
comment "READ HELP before you say 'Y' below !!!"
|
|
|
|
config COMP_TOOLS
|
|
bool
|
|
prompt "Build some companion tools"
|
|
help
|
|
Crosstool-NG relies on some external tools to be recent enough, namely:
|
|
make = 3.81 (in some cases)
|
|
m4 >= 1.4.12
|
|
autoconf >= 2.63
|
|
automake >= 1.10.2
|
|
libtool >= 2.2.4
|
|
|
|
If your system has older versions, we can build them for you,
|
|
but you are strongly encouraged to update your system instead!
|
|
|
|
if COMP_TOOLS
|
|
|
|
config COMP_TOOLS_make
|
|
bool
|
|
prompt "make"
|
|
|
|
config COMP_TOOLS_make_gmake
|
|
bool
|
|
prompt "Add gmake symlink to companion gnu/make"
|
|
depends on COMP_TOOLS_make
|
|
|
|
config COMP_TOOLS_m4
|
|
bool
|
|
prompt "m4"
|
|
|
|
config COMP_TOOLS_autoconf
|
|
bool
|
|
prompt "autoconf"
|
|
|
|
config COMP_TOOLS_automake
|
|
bool
|
|
prompt "automake"
|
|
|
|
config COMP_TOOLS_libtool
|
|
bool
|
|
prompt "libtool"
|
|
|
|
endif
|
|
|
|
endmenu
|