From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752547AbZBPQIg (ORCPT ); Mon, 16 Feb 2009 11:08:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751162AbZBPQI1 (ORCPT ); Mon, 16 Feb 2009 11:08:27 -0500 Received: from rtsoft3.corbina.net ([85.21.88.6]:30434 "EHLO buildserver.ru.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750861AbZBPQI0 (ORCPT ); Mon, 16 Feb 2009 11:08:26 -0500 Date: Mon, 16 Feb 2009 19:08:24 +0300 From: Anton Vorontsov To: Sam Ravnborg Cc: Ingo Molnar , 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: <20090216160824.GA1616@oksana.dev.rtsoft.ru> Reply-To: avorontsov@ru.mvista.com 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Disposition: inline In-Reply-To: <20090216142001.GA27869@oksana.dev.rtsoft.ru> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from buildserver.ru.mvista.com (unknown [85.21.88.6]) by ozlabs.org (Postfix) with ESMTP id 72C42DDDA0 for ; Tue, 17 Feb 2009 03:08:27 +1100 (EST) Date: Mon, 16 Feb 2009 19:08:24 +0300 From: Anton Vorontsov To: Sam Ravnborg Subject: Re: [PATCH 1/3] Makefile: Include arch Makefiles as late as possible Message-ID: <20090216160824.GA1616@oksana.dev.rtsoft.ru> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 In-Reply-To: <20090216142001.GA27869@oksana.dev.rtsoft.ru> Cc: linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Steven Rostedt , Paul Mackerras , Ingo Molnar Reply-To: avorontsov@ru.mvista.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2