summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorbamvor.zhangjian@huawei.com <bamvor.zhangjian@huawei.com>2016-11-29 19:55:50 +0800
committerShuah Khan <shuahkh@osg.samsung.com>2017-01-05 13:42:11 -0700
commit5a2d4a5763c96a19170f81f2c4bb3cc9515f854a (patch)
tree3d244192806ad4e179dcc9f507cb5bc4fe44bebb /tools
parent7d758af257bc40a8a599a0aaa4768b30fb463e9c (diff)
downloadlinux-5a2d4a5763c96a19170f81f2c4bb3cc9515f854a.tar.gz
linux-5a2d4a5763c96a19170f81f2c4bb3cc9515f854a.tar.xz
selftests: remove CROSS_COMPILE in dedicated Makefile
After previous clean up patches, memfd and timers could get CROSS_COMPILE from tools/testing/selftest/lib.mk. There is no need to preserve these definition. So, this patch remove them. 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')
-rw-r--r--tools/testing/selftests/memfd/Makefile1
-rw-r--r--tools/testing/selftests/timers/Makefile1
2 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/memfd/Makefile b/tools/testing/selftests/memfd/Makefile
index 2c87f2376e59..79891d033de1 100644
--- a/tools/testing/selftests/memfd/Makefile
+++ b/tools/testing/selftests/memfd/Makefile
@@ -1,4 +1,3 @@
-CC = $(CROSS_COMPILE)gcc
CFLAGS += -D_FILE_OFFSET_BITS=64
CFLAGS += -I../../../../include/uapi/
CFLAGS += -I../../../../include/
diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile
index 4a3bffed9901..b90e50c36f9f 100644
--- a/tools/testing/selftests/timers/Makefile
+++ b/tools/testing/selftests/timers/Makefile
@@ -1,4 +1,3 @@
-CC = $(CROSS_COMPILE)gcc
BUILD_FLAGS = -DKTEST
CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
LDFLAGS += -lrt -lpthread