kbuild: Delete unnessesary $(wildcard ...)

From: Sam Ravnborg
Date: Sun Aug 15 2004 - 15:23:42 EST


# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/15 21:41:02+02:00 coywolf@xxxxxxxxxxx
# kbuild: Remove wildcard on KBUILD_OUTPUT
#
# This patch removes unnecessary wildcard on KBUILD_OUTPUT
#
# Signed-off-by: Coywolf Qi Hunt <coywolf@xxxxxxxxxxx>
# Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
#
# Makefile
# 2004/08/12 23:09:08+02:00 coywolf@xxxxxxxxxxx +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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/