]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] kbuild: build TAGS problem with O=
authorTom Rini <trini@kernel.crashing.org>
Wed, 13 Jul 2005 18:49:55 +0000 (11:49 -0700)
committerChris Wright <chrisw@osdl.org>
Fri, 5 Aug 2005 07:04:14 +0000 (00:04 -0700)
commitab998a6790272b6f45a63d9ef763efd435eae23a
treea8da5296e500bb285b661496af0de09f5f969e69
parent84d9ba1c2ec7ca62680d16b9786f545182c8d9f1
[PATCH] kbuild: build TAGS problem with O=

For inclusion into 2.6.12.stable, extracted from current Linus git:

[PATCH] kbuild: build TAGS problem with O=

  make O=/dir TAGS

  fails with:

    MAKE   TAGS
  find: security/selinux/include: No such file or directory
  find: include: No such file or directory
  find: include/asm-i386: No such file or directory
  find: include/asm-generic: No such file or directory

  The problem is in this line:
  ifeq ($(KBUILD_OUTPUT),)

KBUILD_OUTPUT is not defined (ever) after make reruns itself.  This line is
used in the TAGS, tags, and cscope makes.

Signed-off-by: George Anzinger <george@mvista.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Makefile