kbuild: Delete unnessesary $(wildcard ...)

Sam Ravnborg
2004-08-15T20:20:00Z

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/15 21:41:02+02:00 coywolf@greatcn.org
# kbuild: Remove wildcard on KBUILD_OUTPUT
#
# This patch removes unnecessary wildcard on KBUILD_OUTPUT
#
# Signed-off-by: Coywolf Qi Hunt <coywolf@greatcn.org>
# Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
#
# Makefile
# 2004/08/12 23:09:08+02:00 coywolf@greatcn.org +1 -1
# kbuild: Remove wildcard on KBUILD_OUTPUT
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile 2004-08-15 22:19:15 +02:00
+++ b/Makefile 2004-08-15 22:19:15 +02:00
@@ -102,7 +102,7 @@
# check that the output directory actually exists
saved-output := $(KBUILD_OUTPUT)
KBUILD_OUTPUT := $(shell cd $(KBUILD_OUTPUT) && /bin/pwd)
-$(if $(wildcard $(KBUILD_OUTPUT)),, \
+$(if $(KBUILD_OUTPUT),, \
$(error output directory "$(saved-output)" does not exist))

.PHONY: $(MAKECMDGOALS)