From c88bbca7ab489fc8cf9ca34b9878e8b8be23f668 Mon Sep 17 00:00:00 2001 From: Bernhard Walle Date: Sun, 7 Dec 2014 15:57:11 +0100 Subject: comptools/make: Install 'gmake' symlink 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 --- config/companion_tools.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config') diff --git a/config/companion_tools.in b/config/companion_tools.in index 18811e6b..f9223884 100644 --- a/config/companion_tools.in +++ b/config/companion_tools.in @@ -35,6 +35,11 @@ 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" -- cgit v1.2.3