mio-ops/hardware/odroid-hc4/overlays/uboot/pwd.diff

14 lines
442 B
Diff

diff --git a/Makefile b/Makefile
index 730e8d752f..127a260ee8 100644
--- a/Makefile
+++ b/Makefile
@@ -134,7 +134,7 @@ ifneq ($(KBUILD_OUTPUT),)
# check that the output directory actually exists
saved-output := $(KBUILD_OUTPUT)
KBUILD_OUTPUT := $(shell mkdir -p $(KBUILD_OUTPUT) && cd $(KBUILD_OUTPUT) \
- && /bin/pwd)
+ && pwd)
$(if $(KBUILD_OUTPUT),, \
$(error failed to create output directory "$(saved-output)"))