From: Sam Ravnborg <sam@ravnborg.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [git pull] x86 fixes for v2.6.24
Date: Fri, 18 Jan 2008 22:34:02 +0100 [thread overview]
Message-ID: <20080118213402.GB20904@uranus.ravnborg.org> (raw)
In-Reply-To: <20080118205152.GF3079@elte.hu>
On Fri, Jan 18, 2008 at 09:51:52PM +0100, Ingo Molnar wrote:
>
> * Sam Ravnborg <sam@ravnborg.org> wrote:
>
> > > @@ -1088,7 +1088,7 @@ CLEAN_FILES += vmlinux System.map \
> > > .tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map
> > >
> > > # Directories & files removed with 'make mrproper'
> > > -MRPROPER_DIRS += include/config include2 usr/include
> > > +MRPROPER_DIRS += include/config include2 usr/include arch/i386 arch/x86_64
> > sigh - arch specific stuff in the top-level Makefile.
> > This really belongs in arch/x86/Makefile
>
> is this a NACK? Can clean this up in v2.6.25, but this seemed the only
> simple solution for v2.6.24.
I would have preferred following solution.
And then the directory is killed during make clean as
opposed to make mrproper.
Not tested but seemed obvious.
Sam
diff --git a/arch/x86/Makefile_32 b/arch/x86/Makefile_32
index 50394da..f806cec 100644
--- a/arch/x86/Makefile_32
+++ b/arch/x86/Makefile_32
@@ -156,7 +156,8 @@ install:
$(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install
archclean:
- $(Q)rm -rf $(objtree)/arch/i386/boot
+ $(Q)rm -rf $(objtree)/arch/i386
+ $(Q)rm -rf $(objtree)/arch/x86_64
$(Q)$(MAKE) $(clean)=arch/x86/boot
define archhelp
diff --git a/arch/x86/Makefile_64 b/arch/x86/Makefile_64
index a804860..93cf177 100644
--- a/arch/x86/Makefile_64
+++ b/arch/x86/Makefile_64
@@ -123,7 +123,8 @@ endif
$(Q)$(MAKE) $(build)=arch/x86/vdso $@
archclean:
- $(Q)rm -rf $(objtree)/arch/x86_64/boot
+ $(Q)rm -rf $(objtree)/arch/i386
+ $(Q)rm -rf $(objtree)/arch/x86_64
$(Q)$(MAKE) $(clean)=$(boot)
define archhelp
next prev parent reply other threads:[~2008-01-18 21:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 15:48 [git pull] x86 fixes for v2.6.24 Ingo Molnar
2008-01-18 19:12 ` Sam Ravnborg
2008-01-18 20:51 ` Ingo Molnar
2008-01-18 21:34 ` Sam Ravnborg [this message]
2008-01-18 21:47 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080118213402.GB20904@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.