[PATCH] kbuild: build TAGS problem with O=
commitf182ae626189d8a346aae142e7b8b182663dac44
authorGeorge Anzinger <george@mvista.com>
Fri, 8 Jul 2005 00:56:06 +0000 (7 17:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:36 +0000 (7 18:23 -0700)
treeafe79051af04ce93062f49d2966fd150b60f2a3f
parent42639269f9ce4aac2e6c20bcbca30b5da8b9a899
[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>
Makefile