From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.mail.elte.hu (mx2.mail.elte.hu [157.181.151.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A3FC7DDD01 for ; Tue, 17 Feb 2009 04:23:00 +1100 (EST) Date: Mon, 16 Feb 2009 18:22:45 +0100 From: Ingo Molnar To: Anton Vorontsov 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 In-Reply-To: <20090216160824.GA1616@oksana.dev.rtsoft.ru> Cc: linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Steven Rostedt , Paul Mackerras , Sam Ravnborg List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , * 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