aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/mount
diff options
context:
space:
mode:
authorbamvor.zhangjian@huawei.com2016-11-29 19:55:49 +0800
committerShuah Khan2017-01-05 13:42:01 -0700
commit7d758af257bc40a8a599a0aaa4768b30fb463e9c (patch)
tree00c4ae2a68d491c2d8849564211b1121cdd9cc2d /tools/testing/selftests/mount
parent5fe59799352b2e2e2dfcf84585c6d780d6effb0e (diff)
selftests: add default rules for c source file
There are difference rules for compiling c source file in different testcases. In order to enable KBUILD_OUTPUT support in later patch, this patch introduce the default rules in "tools/testing/selftest/lib.mk" and remove the existing rules in each testcase. Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/mount')
-rw-r--r--tools/testing/selftests/mount/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/testing/selftests/mount/Makefile b/tools/testing/selftests/mount/Makefile
index e8fb15e80172..9093d7ffe87f 100644
--- a/tools/testing/selftests/mount/Makefile
+++ b/tools/testing/selftests/mount/Makefile
@@ -2,9 +2,6 @@
CFLAGS = -Wall \
-O2
-unprivileged-remount-test: unprivileged-remount-test.c
- $(CC) $(CFLAGS) unprivileged-remount-test.c -o unprivileged-remount-test
-
TEST_GEN_PROGS := unprivileged-remount-test
include ../lib.mk