From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752490AbZBPRX0 (ORCPT ); Mon, 16 Feb 2009 12:23:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751104AbZBPRXQ (ORCPT ); Mon, 16 Feb 2009 12:23:16 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:41458 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbZBPRXP (ORCPT ); Mon, 16 Feb 2009 12:23:15 -0500 Date: Mon, 16 Feb 2009 18:22:45 +0100 From: Ingo Molnar To: Anton Vorontsov Cc: Sam Ravnborg , Steven Rostedt , Paul Mackerras , Benjamin Herrenschmidt , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org Subject: Re: [PATCH 1/3] Makefile: Include arch Makefiles as late as possible Message-ID: <20090216172245.GC26995@elte.hu> References: <20090204150755.GA24163@oksana.dev.rtsoft.ru> <20090204150835.GA30027@oksana.dev.rtsoft.ru> <20090204212612.GN22608@elte.hu> <20090214195702.GB1241@uranus.ravnborg.org> <20090216142001.GA27869@oksana.dev.rtsoft.ru> <20090216160824.GA1616@oksana.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090216160824.GA1616@oksana.dev.rtsoft.ru> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Anton Vorontsov wrote: > On Mon, Feb 16, 2009 at 05:20:01PM +0300, Anton Vorontsov wrote: > [...] > > But then, this commit reverted things back (w/o your Ack): > > > > commit bef5b54bd7bf8117c75cb943d64549134c6d9a1f > > Author: Ralf Baechle > > Date: Wed Jul 16 13:02:24 2008 +0100 > > > > Fix MIPS cross-compile problem > > [...] > > Signed-off-by: Ralf Baechle > > Signed-off-by: Linus Torvalds > > > > [...] > > --- a/Makefile > > +++ b/Makefile > > @@ -508,6 +508,8 @@ else > > KBUILD_CFLAGS += -O2 > > endif > > > > +include $(srctree)/arch/$(SRCARCH)/Makefile > > + > > ifneq (CONFIG_FRAME_WARN,0) > > KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN}) > > endif > > @@ -516,8 +518,6 @@ endif > > # Arch Makefiles may override this setting > > KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) > > > > -include $(srctree)/arch/$(SRCARCH)/Makefile > > - > > ifdef CONFIG_FRAME_POINTER > > KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls > > else > > Btw, I wonder if x86's CONFIG_CC_STACKPROTECTOR is a no-op since > v2.6.27-rc1? Seems like it is. that's fixed and merged up for 2.6.30. Ingo