Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=59df3230fc57fa8900bebf3d2d68221d549f3c7c
Commit:     59df3230fc57fa8900bebf3d2d68221d549f3c7c
Parent:     3d8b3036f5260b366ec0982aa2f862d841d058c2
Author:     Geert Uytterhoeven <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 29 13:47:01 2007 +0100
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jan 30 08:28:16 2007 -0800

    [PATCH] `make help' in build tree doesn't show headers_* targets
    
    `make help' in the build tree doesn't show the help texts about the
    `headers_install' and `headers_check' targets because it looks for
    include/asm-$(ARCH)/Kbuild in the wrong place.
    Add the missing `$(srctree)' prefixes to fix this.
    Also move the printing of the default install path for the headers inside 
the
    `if/fi', where it belongs.
    
    Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]>
    Acked-by: Oleg Verych <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 9e1adac..59aa9f5 100644
--- a/Makefile
+++ b/Makefile
@@ -1116,15 +1116,15 @@ help:
        @echo  '  cscope          - Generate cscope index'
        @echo  '  kernelrelease   - Output the release version string'
        @echo  '  kernelversion   - Output the version stored in Makefile'
-       @if [ -r include/asm-$(ARCH)/Kbuild ]; then \
+       @if [ -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \
         echo  '  headers_install - Install sanitised kernel headers to 
INSTALL_HDR_PATH'; \
+        echo  '                    (default: $(INSTALL_HDR_PATH))'; \
         fi
-       @echo  '                    (default: $(INSTALL_HDR_PATH))'
        @echo  ''
        @echo  'Static analysers'
        @echo  '  checkstack      - Generate a list of stack hogs'
        @echo  '  namespacecheck  - Name space analysis on compiled kernel'
-       @if [ -r include/asm-$(ARCH)/Kbuild ]; then \
+       @if [ -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \
         echo  '  headers_check   - Sanity check on exported headers'; \
         fi
        @echo  ''
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to