OSDN Git Service

selftests: add default rules for c source file
authorbamvor.zhangjian@huawei.com <bamvor.zhangjian@huawei.com>
Tue, 29 Nov 2016 11:55:49 +0000 (19:55 +0800)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 5 Jan 2017 20:42:01 +0000 (13:42 -0700)
commit7d758af257bc40a8a599a0aaa4768b30fb463e9c
tree00c4ae2a68d491c2d8849564211b1121cdd9cc2d
parent5fe59799352b2e2e2dfcf84585c6d780d6effb0e
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>
tools/testing/selftests/exec/Makefile
tools/testing/selftests/lib.mk
tools/testing/selftests/mount/Makefile
tools/testing/selftests/net/Makefile
tools/testing/selftests/size/Makefile
tools/testing/selftests/vm/Makefile