All of lore.kernel.org
 help / color / mirror / Atom feed
From: <bamvor.zhangjian@huawei.com>
To: <shuahkh@osg.samsung.com>
Cc: <linux-api@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<khilman@kernel.org>, <broonie@kernel.org>, <mpe@ellerman.id.au>
Subject: [PATCH v2 4/6] selftests: remove CROSS_COMPILE in dedicated Makefile
Date: Tue, 29 Nov 2016 19:55:50 +0800	[thread overview]
Message-ID: <20161129115552.8148-5-bamvor.zhangjian@huawei.com> (raw)
In-Reply-To: <20161129115552.8148-1-bamvor.zhangjian@huawei.com>

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.

Acked-by: Michael Ellerman <mpe@ellerman.id.au>
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
-- 
2.10.0

WARNING: multiple messages have this Message-ID (diff)
From: <bamvor.zhangjian@huawei.com>
To: shuahkh@osg.samsung.com
Cc: linux-api@vger.kernel.org, linux-kernel@vger.kernel.org,
	khilman@kernel.org, broonie@kernel.org, mpe@ellerman.id.au
Subject: [PATCH v2 4/6] selftests: remove CROSS_COMPILE in dedicated Makefile
Date: Tue, 29 Nov 2016 19:55:50 +0800	[thread overview]
Message-ID: <20161129115552.8148-5-bamvor.zhangjian@huawei.com> (raw)
In-Reply-To: <20161129115552.8148-1-bamvor.zhangjian@huawei.com>

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.

Acked-by: Michael Ellerman <mpe@ellerman.id.au>
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
-- 
2.10.0

  parent reply	other threads:[~2016-11-29 11:55 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-29 11:55 [PATCH v2 0/6] enable O and KBUILD_OUTPUT for kselftest bamvor.zhangjian
2016-11-29 11:55 ` bamvor.zhangjian
2016-11-29 11:55 ` [PATCH v2 1/6] selftests: remove duplicated all and clean target bamvor.zhangjian
2016-11-29 11:55   ` bamvor.zhangjian
2016-11-29 11:55 ` [PATCH v2 2/6] selftests: remove useless TEST_DIRS bamvor.zhangjian
2016-11-29 11:55   ` bamvor.zhangjian-hv44wF8Li93QT0dZR+AlfA
2016-11-29 11:55 ` [PATCH v2 3/6] selftests: add default rules for c source file bamvor.zhangjian
2016-11-29 11:55   ` bamvor.zhangjian-hv44wF8Li93QT0dZR+AlfA
2016-11-29 11:55 ` bamvor.zhangjian [this message]
2016-11-29 11:55   ` [PATCH v2 4/6] selftests: remove CROSS_COMPILE in dedicated Makefile bamvor.zhangjian
2016-11-29 11:55 ` [PATCH v2 5/6] selftests: add EXTRA_CLEAN for clean target bamvor.zhangjian
2016-11-29 11:55   ` bamvor.zhangjian-hv44wF8Li93QT0dZR+AlfA
2016-11-29 11:55 ` [PATCH v2 6/6] selftests: enable O and KBUILD_OUTPUT bamvor.zhangjian
2016-11-29 11:55   ` bamvor.zhangjian-hv44wF8Li93QT0dZR+AlfA
2017-03-20 21:39   ` Andy Lutomirski
2017-03-20 21:39     ` Andy Lutomirski
2017-03-21  8:35     ` Michael Ellerman
2017-03-21  8:35       ` Michael Ellerman
2017-03-21  9:00       ` Bamvor Zhang Jian
2017-03-21  9:00         ` Bamvor Zhang Jian
2017-03-21 13:54         ` Shuah Khan
2017-03-21 16:09           ` Bamvor Zhang Jian
2017-03-21 18:02             ` Shuah Khan
2017-03-21 18:02               ` Shuah Khan
2017-03-22 12:55               ` Bamvor Zhang Jian
2017-03-22 12:55                 ` Bamvor Zhang Jian
2017-03-22 11:35             ` Michael Ellerman
2017-03-22 11:35               ` Michael Ellerman
2017-03-22 11:46           ` Michael Ellerman
2017-03-22 11:46             ` Michael Ellerman
2017-03-22 11:38         ` Michael Ellerman
2017-03-22 11:38           ` Michael Ellerman
2017-03-22 12:52           ` Bamvor Zhang Jian
2017-03-22 12:52             ` Bamvor Zhang Jian
2016-11-30 14:17 ` [PATCH v2 0/6] enable O and KBUILD_OUTPUT for kselftest Shuah Khan
2016-11-30 14:17   ` Shuah Khan
2016-11-30 15:32   ` Bamvor Zhang Jian
2016-11-30 15:32     ` Bamvor Zhang Jian
2016-12-01 19:35     ` Shuah Khan
2016-12-01 19:35       ` Shuah Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161129115552.8148-5-bamvor.zhangjian@huawei.com \
    --to=bamvor.zhangjian@huawei.com \
    --cc=broonie@kernel.org \
    --cc=khilman@kernel.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpe@ellerman.id.au \
    --cc=shuahkh@osg.samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.