From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 3/3] package/glibc: allow to specify host-make
Date: Mon, 3 Sep 2018 21:19:33 +0200 [thread overview]
Message-ID: <20180903191933.26080-3-romain.naour@gmail.com> (raw)
In-Reply-To: <20180903191933.26080-1-romain.naour@gmail.com>
Use host-make package if GNU make from the host machine is too old.
Use the newly introduced BR2_MAKE_HOST_DEPENDENCY and BR2_MAKE to
provide respectively, host-make dependency and the path to the GNU
make binary to use for building glibc.
Fixes:
http://autobuild.buildroot.net/results/576/5760ea2635d9aecc9c789494a8b2cc73a1af1ceb
http://autobuild.buildroot.net/results/583/58347b94884eee2db28740486eda280e8c08e22f
http://autobuild.buildroot.net/results/dc7/dc7c8cd548409864ab0055e196c0280457a5fb5f
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/glibc/glibc.mk | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk
index 399cf395ce..a2eb8714b1 100644
--- a/package/glibc/glibc.mk
+++ b/package/glibc/glibc.mk
@@ -28,7 +28,12 @@ GLIBC_ADD_TOOLCHAIN_DEPENDENCY = NO
# Before glibc is configured, we must have the first stage
# cross-compiler and the kernel headers
-GLIBC_DEPENDENCIES = host-gcc-initial linux-headers host-bison host-gawk
+GLIBC_DEPENDENCIES = host-gcc-initial linux-headers host-bison host-gawk \
+ $(BR2_MAKE_HOST_DEPENDENCY)
+
+# glibc requires make >= 4.0 since 2.28 release.
+# https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html
+GLIBC_MAKE = $(BR2_MAKE)
GLIBC_SUBDIR = build
--
2.14.4
next prev parent reply other threads:[~2018-09-03 19:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-03 19:19 [Buildroot] [PATCH v2 1/3] package/make: add host variant Romain Naour
2018-09-03 19:19 ` [Buildroot] [PATCH v2 2/3] dependencies: host-make version check Romain Naour
2018-09-04 0:10 ` Cam Hutchison
2018-09-05 1:39 ` Matthew Weber
2018-09-08 21:37 ` Thomas Petazzoni
2018-09-03 19:19 ` Romain Naour [this message]
2018-09-05 1:40 ` [Buildroot] [PATCH v2 3/3] package/glibc: allow to specify host-make Matthew Weber
2018-09-08 21:38 ` Thomas Petazzoni
2018-09-03 19:55 ` [Buildroot] [PATCH v2 1/3] package/make: add host variant Matthew Weber
2018-09-03 21:35 ` Arnout Vandecappelle
2018-09-04 8:27 ` Thomas Petazzoni
2018-09-04 13:44 ` Matthew Weber
2018-09-05 1:39 ` Matthew Weber
2018-09-08 21:37 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180903191933.26080-3-romain.naour@gmail.com \
--to=romain.naour@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.