From: "tip-bot for H. Peter Anvin" <hpa@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
sam@ravnborg.org, tglx@linutronix.de
Subject: [tip:x86/urgent] x86, kbuild: make "make install" not depend on vmlinux
Date: Fri, 17 Apr 2009 17:51:37 GMT [thread overview]
Message-ID: <tip-e56cb7f5e74af194585be4a2a6fc55a88f5be3ad@git.kernel.org> (raw)
In-Reply-To: <20090415234642.GA28531@uranus.ravnborg.org>
Commit-ID: e56cb7f5e74af194585be4a2a6fc55a88f5be3ad
Gitweb: http://git.kernel.org/tip/e56cb7f5e74af194585be4a2a6fc55a88f5be3ad
Author: H. Peter Anvin <hpa@zytor.com>
AuthorDate: Fri, 17 Apr 2009 10:46:37 -0700
Committer: H. Peter Anvin <hpa@zytor.com>
CommitDate: Fri, 17 Apr 2009 10:46:37 -0700
x86, kbuild: make "make install" not depend on vmlinux
It is common to use "make install" in restricted environments which
differ from the one which was actually used to build the kernel. In
such environments it is highly undesirable to trigger a rebuild of any
part of the system. Worse, the rebuild may be spurious, triggered by
differences in the environment.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
LKML-Reference: <20090415234642.GA28531@uranus.ravnborg.org>
---
arch/x86/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index f05d8c9..8c86b72 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -153,7 +153,7 @@ endif
boot := arch/x86/boot
-BOOT_TARGETS = bzlilo bzdisk fdimage fdimage144 fdimage288 isoimage install
+BOOT_TARGETS = bzlilo bzdisk fdimage fdimage144 fdimage288 isoimage
PHONY += bzImage $(BOOT_TARGETS)
@@ -171,6 +171,10 @@ bzImage: vmlinux
$(BOOT_TARGETS): vmlinux
$(Q)$(MAKE) $(build)=$(boot) $@
+PHONY += install
+install:
+ $(Q)$(MAKE) $(build)=$(boot) $@
+
PHONY += vdso_install
vdso_install:
$(Q)$(MAKE) $(build)=arch/x86/vdso $@
next prev parent reply other threads:[~2009-04-17 17:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-14 21:32 Trouble with make-install from a NFS mount Gregory Haskins
2009-04-14 21:36 ` Randy Dunlap
2009-04-15 18:30 ` Gregory Haskins
2009-04-15 20:21 ` Randy Dunlap
2009-04-15 21:13 ` Gregory Haskins
2009-04-15 21:20 ` Sam Ravnborg
2009-04-15 21:29 ` H. Peter Anvin
2009-04-15 23:46 ` Sam Ravnborg
2009-04-17 17:51 ` tip-bot for H. Peter Anvin [this message]
2009-04-17 20:46 ` [tip:x86/urgent] x86, kbuild: make "make install" not depend on vmlinux tip-bot for H. Peter Anvin
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=tip-e56cb7f5e74af194585be4a2a6fc55a88f5be3ad@git.kernel.org \
--to=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=sam@ravnborg.org \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox