diff mbox

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

Message ID 1477047694-24122-5-git-send-email-bamvor.zhangjian@huawei.com
State Superseded
Headers show

Commit Message

Zhangjian (Bamvor) Oct. 21, 2016, 11:01 a.m. UTC
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(-)

-- 
1.8.4.5

Comments

Michael Ellerman Nov. 18, 2016, 10:58 a.m. UTC | #1
bamvor.zhangjian@huawei.com writes:

> 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>


Another nice cleanup, thanks.

Acked-by: Michael Ellerman <mpe@ellerman.id.au>


cheers
diff mbox

Patch

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