From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vineet Gupta Subject: Re: subtle side effect of commit a1c48bb160f836 Date: Thu, 18 Jun 2015 13:30:22 +0530 Message-ID: <55827A96.1070205@synopsys.com> References: <55826966.6050202@synopsys.com> <5582742D.9090206@synopsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from smtprelay.synopsys.com ([198.182.60.111]:39829 "EHLO smtprelay.synopsys.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752995AbbFRIAi (ORCPT ); Thu, 18 Jun 2015 04:00:38 -0400 In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Geert Uytterhoeven Cc: Michal Marek , "linux-arch@vger.kernel.org" , lkml On Thursday 18 June 2015 01:07 PM, Geert Uytterhoeven wrote: >>> >> Can we include $(srctree)/arch/$(SRCARCH)/Makefile twice? >> > >> > Something like this would be ideal, but does that not bring back your warnings ? > I don't think so. The warnings were caused by using the host compiler instead > of the cross compiler while checking for the support of some compiler options. Tried that but build system spews tons of warning about over-riding commands... ----->8------- arch/arc/Makefile:103: warning: overriding commands for target `uImage' arch/arc/Makefile:103: warning: ignoring old commands for target `uImage' arch/arc/Makefile:103: warning: overriding commands for target `uImage.bin' arch/arc/Makefile:103: warning: ignoring old commands for target `uImage.bin' ... ... ----->8-------