Skip to contentSkip to conversation

package/linux-headers: add comment to safely ignore missing cross-compiler

PATCH New Yann E. MORIN 2 participants 2 messages Feb 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/linux-headers: add comment to safely ignore missing cross-compiler

From: "Yann E. MORIN" <[email protected]>

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.

---
 package/linux-headers/linux-headers.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/linux-headers/linux-headers.mk +6 -0
index 30d3076..086e5d5 100644
@@ -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) \
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 package/linux-headers: add comment to safely ignore missing cross-compiler

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

From: "Yann E. MORIN" <[email protected]>
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.

Quoted 6 lines

As some users have reported the issue, just add a comment in linux-headers.mk directing the user to ignore those errors.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard