summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-02-23 15:35:18 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-02-23 16:34:53 +0100
commit6c1ee14b2922e737474e53a740a2af0f00a444f7 (patch)
tree2f26e2dfcf2cd03f85a02878dfe7706ba284dec8
parent39a0fa4b0d85389f85f2cfe126e2f10f94542cb8 (diff)
downloadbuildroot-6c1ee14b2922e737474e53a740a2af0f00a444f7.tar.gz
buildroot-6c1ee14b2922e737474e53a740a2af0f00a444f7.zip
package/linux-headers: add comment to safely ignore missing cross-compiler
For some architectures (eg. Arc, Cris, Hexagon, ia64, Parisc, Score and Xtensa), the Linux buildsystem tries to call the cross-compiler when installing the headers. This is a spurious call, since a cross-compiler is not needed at all to install the headers. As some users have reported the issue, just add a comment in linux-headers.mk directing the user to ignore those errors. Reported-by: Noam Camus <noamc@ezchip.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/linux-headers/linux-headers.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk
index 30d3076592..086e5d5704 100644
--- a/package/linux-headers/linux-headers.mk
+++ b/package/linux-headers/linux-headers.mk
@@ -17,6 +17,12 @@ LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.xz
LINUX_HEADERS_INSTALL_STAGING = YES
+# For some architectures (eg. Arc, Cris, Hexagon, ia64, parisc,
+# score and xtensa), the Linux buildsystem tries to call the
+# cross-compiler, although it is not needed at all.
+# This results in seemingly errors like:
+# [...]/scripts/gcc-version.sh: line 26: arc-linux-uclibc-gcc: command not found
+# Those can be safely ignored.
define LINUX_HEADERS_INSTALL_STAGING_CMDS
(cd $(@D); \
$(TARGET_MAKE_ENV) $(MAKE) \
OpenPOWER on IntegriCloud