[PATCH .19-rc2] kbuild: Another 'headers*' fix for non in-tree build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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 <[email protected]>

---
 was [BUG 2.6.19-rc2-g51018b0a] No rule to make target
       /mnt/md0/devel/linux-git/include/linux/version.h
 by Michal Piotrowski <[email protected]>

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux