Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757520AbcK2Lzf (ORCPT ); Tue, 29 Nov 2016 06:55:35 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:20315 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757264AbcK2Lyw (ORCPT ); Tue, 29 Nov 2016 06:54:52 -0500 From: To: CC: , , , , Subject: [PATCH v2 4/6] selftests: remove CROSS_COMPILE in dedicated Makefile Date: Tue, 29 Nov 2016 19:55:50 +0800 Message-ID: <20161129115552.8148-5-bamvor.zhangjian@huawei.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20161129115552.8148-1-bamvor.zhangjian@huawei.com> References: <20161129115552.8148-1-bamvor.zhangjian@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.110.60.54] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1220 Lines: 33 From: Bamvor Jian Zhang 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 Signed-off-by: Bamvor Jian Zhang --- 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 -- 2.10.0