diff options
author | Geert Uytterhoeven | 2007-01-29 13:47:01 +0100 |
---|---|---|
committer | Linus Torvalds | 2007-01-30 17:28:16 +0100 |
commit | 59df3230fc57fa8900bebf3d2d68221d549f3c7c (patch) | |
tree | 59ca2c3a435e44395fbb42e9eaeb349c10bcf783 /Makefile | |
parent | [PATCH] cdev.h: forward declarations (diff) | |
download | kernel-qcow2-linux-59df3230fc57fa8900bebf3d2d68221d549f3c7c.tar.gz kernel-qcow2-linux-59df3230fc57fa8900bebf3d2d68221d549f3c7c.tar.xz kernel-qcow2-linux-59df3230fc57fa8900bebf3d2d68221d549f3c7c.zip |
[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 <Geert.Uytterhoeven@sonycom.com>
Acked-by: Oleg Verych <olecom@flower.upol.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 '' |