Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1505787

[PATCH RFC 4/6] selftests: remove CROSS_COMPILE in dedicated Makefile

From <bamvor.zhangjian@huawei.com>
Newsgroups linux.kernel
Subject [PATCH RFC 4/6] selftests: remove CROSS_COMPILE in dedicated Makefile
Date 2016-10-21 13:10 +0200
Message-ID <suFS2-4IK-35@gated-at.bofh.it> (permalink)
References <suFIm-4q7-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>

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.

Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
---
 tools/testing/selftests/memfd/Makefile  | 1 -
 tools/testing/selftests/timers/Makefile | 1 -
 2 files changed, 2 deletions(-)

diff --git a/tools/testing/selftests/memfd/Makefile b/tools/testing/selftests/memfd/Makefile
index 2c87f23..79891d0 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 4a3bffe..b90e50c 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
-- 
1.8.4.5

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RFC 0/6] enable O and KBUILD_OUTPUT for kselftest <bamvor.zhangjian@huawei.com> - 2016-10-21 13:10 +0200
  [PATCH RFC 1/6] selftests: remove duplicated all and clean target <bamvor.zhangjian@huawei.com> - 2016-10-21 13:10 +0200
  [PATCH RFC 4/6] selftests: remove CROSS_COMPILE in dedicated Makefile <bamvor.zhangjian@huawei.com> - 2016-10-21 13:10 +0200
  Re: [PATCH RFC 0/6] enable O and KBUILD_OUTPUT for kselftest Bamvor Zhang Jian <bamvor.zhangjian@linaro.org> - 2016-10-21 13:20 +0200

csiph-web