From: Oleg Verych <olecom@flower.upol.cz>
To: linux-kernel@vger.kernel.org
Subject: [PATCH RFC] kbuild: more headers_check fix for non-in-tree builds (was [BUG 2.6.19-rc2-g51018b0a] No rule to make target /mnt/md0/devel/linux-git/include/linux/version.h)
Date: Tue, 17 Oct 2006 09:43:42 +0000 (UTC) [thread overview]
Message-ID: <slrnej8vcn.2lu.olecom@flower.upol.cz> (raw)
In-Reply-To: <6bffcb0e0610160352h2bd86f33x72c438c7e8bdf810@mail.gmail.com>
"'objhdr-y' are generated files", thus they are not in $(srctree).
Kbuild.include already included in root Makefile.
Signed-off-by: Oleg Verych <olecom@flower.upol.cz>
---
scripts/Makefile.headersinst | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Index: linux-2.6.19-rc2/scripts/Makefile.headersinst
===================================================================
--- linux-2.6.19-rc2.orig/scripts/Makefile.headersinst 2006-10-17 06:31:48.379349215 +0000
+++ linux-2.6.19-rc2/scripts/Makefile.headersinst 2006-10-17 06:32:30.161730257 +0000
@@ -39,8 +39,6 @@
include $(KBUILDFILES)
-include scripts/Kbuild.include
-
# If this is include/asm-$(ARCH) and there's no $(ALTARCH), then
# override $(_dst) so that we install to include/asm directly.
# Unless $(BIASMDIR) is set, in which case we're probably doing
@@ -168,7 +166,7 @@
$(call cmd,gen)
else
-$(objhdr-y) : $(INSTALL_HDR_PATH)/$(_dst)/%.h: $(srctree)/$(obj)/%.h $(KBUILDFILES)
+$(objhdr-y) : $(INSTALL_HDR_PATH)/$(_dst)/%.h: $(obj)/%.h $(KBUILDFILES)
$(call cmd,o_hdr_install)
$(header-y) : $(INSTALL_HDR_PATH)/$(_dst)/%.h: $(srctree)/$(obj)/%.h $(KBUILDFILES)
next prev parent reply other threads:[~2006-10-17 9:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 10:52 [BUG 2.6.19-rc2-g51018b0a] No rule to make target `/mnt/md0/devel/linux-git/include/linux/version.h Michal Piotrowski
2006-10-17 9:43 ` Oleg Verych [this message]
2006-10-17 14:03 ` [PATCH .19-rc2] kbuild: Another 'headers*' fix for non in-tree build Oleg Verych
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=slrnej8vcn.2lu.olecom@flower.upol.cz \
--to=olecom@flower.upol.cz \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®