* [Buildroot] [git commit] linuxptp: don't check host headers for target features
@ 2017-07-01 22:36 Thomas Petazzoni
0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2017-07-01 22:36 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=85bf5750fe6415949cdd4e6ab27ed02f88f47d1e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The incdefs.sh script runs ${CROSS_COMPILE}cpp to get a list of default
headers directories. Make sure CROSS_COMPILE is set correctly to avoid check
of host headers.
Also, drop the CC command line override. Upstream makefile sets CC to
$(CROSS_COMPILE)gcc.
Should fix:
http://autobuild.buildroot.net/results/394/394414df25b0b7261b27ca5d4901fde0f639e73c/
http://autobuild.buildroot.net/results/6ad/6adbc8c77c2ca70246b31600ab66b37c56c1e89e/
http://autobuild.buildroot.net/results/70d/70dfd05acc9d951169267f2820ecedb37f0711fe/
Cc: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/linuxptp/linuxptp.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/linuxptp/linuxptp.mk b/package/linuxptp/linuxptp.mk
index 5c2257c..beb2591 100644
--- a/package/linuxptp/linuxptp.mk
+++ b/package/linuxptp/linuxptp.mk
@@ -11,9 +11,9 @@ LINUXPTP_LICENSE = GPL-2.0+
LINUXPTP_LICENSE_FILES = COPYING
define LINUXPTP_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) KBUILD_OUTPUT=$(TARGET_DIR) \
+ $(TARGET_MAKE_ENV) CROSS_COMPILE="$(TARGET_CROSS)" \
+ $(MAKE) KBUILD_OUTPUT=$(TARGET_DIR) \
EXTRA_CFLAGS="$(TARGET_CFLAGS)" EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
- CC="$(TARGET_CC)" \
-C $(@D) all
endef
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-01 22:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-01 22:36 [Buildroot] [git commit] linuxptp: don't check host headers for target features Thomas Petazzoni
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.