summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/user
diff options
context:
space:
mode:
authorDarren Hart <dvhart@infradead.org>2017-03-24 17:18:54 +0100
committerShuah Khan <shuahkh@osg.samsung.com>2017-04-11 17:40:51 +0200
commitbfedc31c4f2c1af3b509bbdc0aae051e8ad7d3ae (patch)
treed8e4a6ff699056e85c3c911311b575524ff474c9 /tools/testing/selftests/user
parentkselftest: ftrace: Fix to compare a zero-filled hex value (diff)
downloadlinux-bfedc31c4f2c1af3b509bbdc0aae051e8ad7d3ae.tar.xz
linux-bfedc31c4f2c1af3b509bbdc0aae051e8ad7d3ae.zip
selftests/futex: Fix build error with OUTPUT variable
The use of $$OUTPUT in the target shell commands resulted in an empty string followed by an absolute path for which mkdir failed: $ make -C tools/testing/selftests/futex make: Entering directory '/home/dvhart/source/linux/linux-pdx86/tools/testing/selftests/futex' Makefile:36: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recipe for target 'clean' for DIR in functional; do \ BUILD_TARGET=$OUTPUT/$DIR; \ mkdir $BUILD_TARGET -p; \ make OUTPUT=$BUILD_TARGET -C $DIR all;\ done mkdir: cannot create directory ‘/functional’: Permission denied Replace $$OUTPUT with $(OUTPUT) when referring to the Makefile OUTPUT variable. The above make command now completes successfully. Fixes: a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT") Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org> Cc: linux-kselftest@vger.kernel.org Cc: bamvor.zhangjian@huawei.com Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/user')
0 files changed, 0 insertions, 0 deletions