Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752508AbaJQNyA (ORCPT ); Fri, 17 Oct 2014 09:54:00 -0400 Received: from mail-vc0-f177.google.com ([209.85.220.177]:51231 "EHLO mail-vc0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751816AbaJQNx6 (ORCPT ); Fri, 17 Oct 2014 09:53:58 -0400 MIME-Version: 1.0 X-Originating-IP: [129.2.129.159] In-Reply-To: <1412811091-26702-1-git-send-email-pefoley2@pefoley.com> References: <1412811091-26702-1-git-send-email-pefoley2@pefoley.com> From: Peter Foley Date: Fri, 17 Oct 2014 09:53:37 -0400 Message-ID: Subject: Re: [PATCH] Only build Documentation/ when not cross-compiling To: LKML Cc: Randy Dunlap , Jiri Kosina , Andy Lutomirski , "H. Peter Anvin" , Josh Boyer , "linux-doc@vger.kernel.org" , Chuck Ebbert , torvalds@linuxfoundation.org, Peter Foley Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 8, 2014 at 7:31 PM, Peter Foley wrote: > 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. > Turns out this doesn't work if CROSS_COMPILE is set in the environment. I'll send another version shortly. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/