From: Oleg Verych <olecom@flower.upol.cz>
To: linux-kernel@vger.kernel.org
Subject: [PATCH .19-rc2] kbuild: Another 'headers*' fix for non in-tree build
Date: Tue, 17 Oct 2006 14:03:05 +0000 (UTC) [thread overview]
Message-ID: <slrnej9p0r.2m4.olecom@flower.upol.cz> (raw)
In-Reply-To: <6bffcb0e0610160352h2bd86f33x72c438c7e8bdf810@mail.gmail.com>
While it mostly work, version.h header *is* generated, thus resides
in $(objtree), not $(srctree).
This broke headers_install, thus headers_check.
Signed-off-by: Oleg Verych <olecom@flower.upol.cz>
---
was [BUG 2.6.19-rc2-g51018b0a] No rule to make target
/mnt/md0/devel/linux-git/include/linux/version.h
by Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Test it, please, Michal. I think this, non-rfc version, is OK for 2.6.19.
scripts/Makefile.headersinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.19-rc2/scripts/Makefile.headersinst
===================================================================
--- linux-2.6.19-rc2.orig/scripts/Makefile.headersinst 2006-10-17 13:40:58.091384132 +0000
+++ linux-2.6.19-rc2/scripts/Makefile.headersinst 2006-10-17 13:42:03.591116749 +0000
@@ -168,7 +168,7 @@
$(call cmd,gen)
else
-$(objhdr-y) : $(INSTALL_HDR_PATH)/$(_dst)/%.h: $(srctree)/$(obj)/%.h $(KBUILDFILES)
+$(objhdr-y) : $(INSTALL_HDR_PATH)/$(_dst)/%.h: $(objtree)/$(obj)/%.h $(KBUILDFILES)
$(call cmd,o_hdr_install)
$(header-y) : $(INSTALL_HDR_PATH)/$(_dst)/%.h: $(srctree)/$(obj)/%.h $(KBUILDFILES)
prev parent reply other threads:[~2006-10-17 14:04 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 ` [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) Oleg Verych
2006-10-17 14:03 ` Oleg Verych [this message]
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=slrnej9p0r.2m4.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®