lkml.org 
[lkml]   [2014]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Only build Documentation/ when not cross-compiling
Date
Don't build Documentation targets when cross-compiling.
They are only for build testing, and use the host headers and compiler
which can cause cross-compiles to fail.

Signed-off-by: Peter Foley <pefoley2@pefoley.com>
---
lib/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index a285900..1beeb84 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1610,7 +1610,7 @@ config PROVIDE_OHCI1394_DMA_INIT

config BUILD_DOCSRC
bool "Build targets in Documentation/ tree"
- depends on HEADERS_CHECK
+ depends on HEADERS_CHECK && CROSS_COMPILE=""
help
This option attempts to build objects from the source files in the
kernel Documentation/ tree.
--
2.1.2


\
 
 \ /
  Last update: 2014-10-09 02:03    [W:0.065 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site