lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1412811091-26702-1-git-send-email-pefoley2@pefoley.com>
Date:	Wed,  8 Oct 2014 19:31:31 -0400
From:	Peter Foley <pefoley2@...oley.com>
To:	linux-kernel@...r.kernel.org
Cc:	rdunlap@...radead.org, jkosina@...e.cz, luto@...capital.net,
	hpa@...or.com, jwboyer@...oraproject.org,
	linux-doc@...r.kernel.org, cebbert.lkml@...il.com,
	torvalds@...uxfoundation.org, Peter Foley <pefoley2@...oley.com>
Subject: [PATCH] Only build Documentation/ when not cross-compiling

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@...oley.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ