[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <slrnej9p0r.2m4.olecom@flower.upol.cz>
Date: Tue, 17 Oct 2006 14:03:05 +0000 (UTC)
From: Oleg Verych <olecom@...wer.upol.cz>
To: linux-kernel@...r.kernel.org
Subject: [PATCH .19-rc2] kbuild: Another 'headers*' fix for non in-tree build
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@...wer.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@...il.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)
-
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