Commit 25d0fd8f authored by Coywolf Qi Hunt's avatar Coywolf Qi Hunt Committed by Sam Ravnborg

kbuild: Remove wildcard on KBUILD_OUTPUT

This patch removes unnecessary wildcard on KBUILD_OUTPUT
Signed-off-by: default avatarCoywolf Qi Hunt <coywolf@greatcn.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent a91c4fb5
......@@ -102,7 +102,7 @@ ifneq ($(KBUILD_OUTPUT),)
# 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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment