Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753280AbbGaQ3Y (ORCPT ); Fri, 31 Jul 2015 12:29:24 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33728 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750780AbbGaQ3W (ORCPT ); Fri, 31 Jul 2015 12:29:22 -0400 Date: Fri, 31 Jul 2015 09:29:21 -0700 From: Greg Kroah-Hartman To: Michael Ellerman Cc: David Herrmann , Paul Gortmaker , David Herrmann , Daniel Mack , Djalal Harouni , linux-mips@linux-mips.org, linux-kernel , "linux-next@vger.kernel.org" Subject: Re: samples/kdbus/kdbus-workers.c and cross compiling MIPS Message-ID: <20150731162921.GA6335@kroah.com> References: <20150729161912.GF18685@windriver.com> <55BA2B91.5070107@windriver.com> <1438326061.29353.9.camel@ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438326061.29353.9.camel@ellerman.id.au> User-Agent: Mutt/1.5.23+102 (2ca89bed6448) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 739 Lines: 18 On Fri, Jul 31, 2015 at 05:01:01PM +1000, Michael Ellerman wrote: > It's obviously possible that some samples build with that configuration, but > building against another arch'es kernel headers just seems like it's asking for > trouble. Even if we can build the samples, they will never run correctly. > > So I suggest we should just disable SAMPLES if we're cross compiling, full stop. Yes, that seems like a much better solution overall. Can you send a patch for this? thanks, greg k-h -- 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/