[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080428204651.GC18248@uranus.ravnborg.org>
Date: Mon, 28 Apr 2008 22:46:51 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Andres Salomon <dilinger@...ued.net>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
tglx@...utronix.de, mingo@...hat.com, hpa@...or.com
Subject: Re: [PATCH 1/4] build: fix missing x86-specific help output
On Mon, Apr 28, 2008 at 11:18:39AM -0400, Andres Salomon wrote:
> Note that this one is a general x86 fix, I probably should've separated it
> out from the other three.
>
> On Fri, 25 Apr 2008 22:34:58 -0400
> Andres Salomon <dilinger@...ued.net> wrote:
>
> >
> > Normally 'make help' spits out architecture-specific targets (including
> > things like foo_defconfig). However, it looks like ARCH was never changed
> > to SRCARCH during the x86 transition; the makefile still looks in
> > arch/i386/configs for arch-specific config files (if ARCH is i386, that is).
> >
> > This changes it to use SRCARCH, which makes it properly display things
> > like i386_defconfig and x86_64_defconfig.
> >
> > Signed-off-by: Andres Salomon <dilinger@...ian.org>
> > ---
> > Makefile | 6 +++---
> > 1 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/Makefile b/Makefile
> > index 3dbc826..e77149e 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -1170,7 +1170,7 @@ rpm: include/config/kernel.release FORCE
> > # Brief documentation of the typical targets used
> > # ---------------------------------------------------------------------------
> >
> > -boards := $(wildcard $(srctree)/arch/$(ARCH)/configs/*_defconfig)
> > +boards := $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*_defconfig)
> > boards := $(notdir $(boards))
I already had this fix in a previous patch.
> >
> > help:
> > @@ -1217,9 +1217,9 @@ help:
> > @echo 'Documentation targets:'
> > @$(MAKE) -f $(srctree)/Documentation/DocBook/Makefile dochelp
> > @echo ''
> > - @echo 'Architecture specific targets ($(ARCH)):'
> > + @echo 'Architecture specific targets ($(SRCARCH)):'
> > @$(if $(archhelp),$(archhelp),\
> > - echo ' No architecture specific help defined for $(ARCH)')
> > + echo ' No architecture specific help defined for $(SRCARCH)')
So I used only this part.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists