[PATCH] fix `make headers_install'

David Woodhouse dwmw2 at infradead.org
Tue Nov 7 22:37:33 EST 2006


Commit:     308ba5fcf89b6e328f9290067181c1e4d772fdc9
Parent:     a4bb2cf1c3d30e7498e5561b22246b5bcbfe2e15
commit 308ba5fcf89b6e328f9290067181c1e4d772fdc9
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Tue Oct 17 00:10:02 2006 -0700
Commit:     Linus Torvalds <torvalds at g5.osdl.org>
CommitDate: Tue Oct 17 08:18:44 2006 -0700

    [PATCH] fix `make headers_install'
    
    Fix this:
    
    make[3]: *** No rule to make target
    `/mnt/md0/devel/linux-git/include/linux/version.h', needed by
    `/mnt/md0/devel/linux-git-obj/usr/include/linux/version.h'.  Stop.
    make[2]: *** [linux] Error 2
    make[1]: *** [headers_install] Error 2
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
    Signed-off-by: Andrew Morton <akpm at osdl.org>
    Signed-off-by: Linus Torvalds <torvalds at osdl.org>
---
 scripts/Makefile.headersinst |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst
index 6a026f6..4241e0d 100644
--- a/scripts/Makefile.headersinst
+++ b/scripts/Makefile.headersinst
@@ -168,7 +168,7 @@ ifdef GENASM
 	$(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)


More information about the Commits-kernel mailing list