aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGeorge Anzinger <george@mvista.com>2005-07-07 20:56:06 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 21:23:36 -0400
commitf182ae626189d8a346aae142e7b8b182663dac44 (patch)
treeafe79051af04ce93062f49d2966fd150b60f2a3f /Makefile
parent42639269f9ce4aac2e6c20bcbca30b5da8b9a899 (diff)
[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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 278d50992c71..2717223d8666 100644
--- a/Makefile
+++ b/Makefile
@@ -1149,7 +1149,7 @@ endif # KBUILD_EXTMOD
1149#(which is the most common case IMHO) to avoid unneeded clutter in the big tags file. 1149#(which is the most common case IMHO) to avoid unneeded clutter in the big tags file.
1150#Adding $(srctree) adds about 20M on i386 to the size of the output file! 1150#Adding $(srctree) adds about 20M on i386 to the size of the output file!
1151 1151
1152ifeq ($(KBUILD_OUTPUT),) 1152ifeq ($(src),$(obj))
1153__srctree = 1153__srctree =
1154else 1154else
1155__srctree = $(srctree)/ 1155__srctree = $(srctree)/