summaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-10-28 11:01:57 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-10-28 11:01:57 -0700
commit25a5d23b47994cdb451dcd2bc8ac310a1492f71b (patch)
tree0f541556bb28c6bff38a7d6c9a40f3f66cc37ec1 /tools/power
parenta7d3e63f840c26e52f65d36de470d0b116014240 (diff)
parentbb3f38c3c5b759163e09b9152629cc789731de47 (diff)
downloadlinux-stable-25a5d23b47994cdb451dcd2bc8ac310a1492f71b.tar.gz
linux-stable-25a5d23b47994cdb451dcd2bc8ac310a1492f71b.tar.bz2
linux-stable-25a5d23b47994cdb451dcd2bc8ac310a1492f71b.zip
Merge tag 'kbuild-fixes-v4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull Kbuild fixes from Masahiro Yamada: - fix O= building on dash - remove unused dependency in Makefile - fix default of a choice in Kconfig - fix typos and documentation style - fix command options unrecognized by sparse * tag 'kbuild-fixes-v4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: kbuild: clang: fix build failures with sparse check kbuild doc: a bundle of fixes on makefiles.txt Makefile: kselftest: fix grammar typo kbuild: Fix optimization level choice default kbuild: drop unused symverfile in Makefile.modpost kbuild: revert $(realpath ...) to $(shell cd ... && /bin/pwd)
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/cpupower/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile
index 4c5a481a850c..d6e1c02ddcfe 100644
--- a/tools/power/cpupower/Makefile
+++ b/tools/power/cpupower/Makefile
@@ -26,7 +26,7 @@ endif
ifneq ($(OUTPUT),)
# check that the output directory actually exists
-OUTDIR := $(realpath $(OUTPUT))
+OUTDIR := $(shell cd $(OUTPUT) && /bin/pwd)
$(if $(OUTDIR),, $(error output directory "$(OUTPUT)" does not exist))
endif