From: shuahkh@osg.samsung.com (Shuah Khan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/6] selftest/kdbus: enable cross compilation
Date: Thu, 02 Apr 2015 11:28:23 -0600 [thread overview]
Message-ID: <551D7C37.8030701@osg.samsung.com> (raw)
In-Reply-To: <1427930420-4762-3-git-send-email-tyler.baker@linaro.org>
On 04/01/2015 05:20 PM, Tyler Baker wrote:
> Use the CC variable instead of hard coding gcc and include lib.mk.
>
> Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
Greg,
Will you be able to take this patch in with the other
kdbus sleftest patches?
Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
thanks,
-- Shuah
> ---
> tools/testing/selftests/kdbus/Makefile | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/tools/testing/selftests/kdbus/Makefile b/tools/testing/selftests/kdbus/Makefile
> index f6cfab2..de8242f 100644
> --- a/tools/testing/selftests/kdbus/Makefile
> +++ b/tools/testing/selftests/kdbus/Makefile
> @@ -33,11 +33,13 @@ OBJS= \
>
> all: kdbus-test
>
> +include ../lib.mk
> +
> %.o: %.c
> - gcc $(CFLAGS) -c $< -o $@
> + $(CC) $(CFLAGS) -c $< -o $@
>
> kdbus-test: $(OBJS)
> - gcc $(CFLAGS) $^ $(LDLIBS) -o $@
> + $(CC) $(CFLAGS) $^ $(LDLIBS) -o $@
>
> run_tests:
> ./kdbus-test --tap
>
--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh at osg.samsung.com | (970) 217-8978
WARNING: multiple messages have this Message-ID (diff)
From: Shuah Khan <shuahkh@osg.samsung.com>
To: Tyler Baker <tyler.baker@linaro.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Kevin Hilman <khilman@kernel.org>,
John Stultz <john.stultz@linaro.org>,
Darren Hart <dvhart@infradead.org>,
David Herrmann <dh.herrmann@gmail.com>,
Michael Ellerman <mpe@ellerman.id.au>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/6] selftest/kdbus: enable cross compilation
Date: Thu, 02 Apr 2015 11:28:23 -0600 [thread overview]
Message-ID: <551D7C37.8030701@osg.samsung.com> (raw)
In-Reply-To: <1427930420-4762-3-git-send-email-tyler.baker@linaro.org>
On 04/01/2015 05:20 PM, Tyler Baker wrote:
> Use the CC variable instead of hard coding gcc and include lib.mk.
>
> Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
Greg,
Will you be able to take this patch in with the other
kdbus sleftest patches?
Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
thanks,
-- Shuah
> ---
> tools/testing/selftests/kdbus/Makefile | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/tools/testing/selftests/kdbus/Makefile b/tools/testing/selftests/kdbus/Makefile
> index f6cfab2..de8242f 100644
> --- a/tools/testing/selftests/kdbus/Makefile
> +++ b/tools/testing/selftests/kdbus/Makefile
> @@ -33,11 +33,13 @@ OBJS= \
>
> all: kdbus-test
>
> +include ../lib.mk
> +
> %.o: %.c
> - gcc $(CFLAGS) -c $< -o $@
> + $(CC) $(CFLAGS) -c $< -o $@
>
> kdbus-test: $(OBJS)
> - gcc $(CFLAGS) $^ $(LDLIBS) -o $@
> + $(CC) $(CFLAGS) $^ $(LDLIBS) -o $@
>
> run_tests:
> ./kdbus-test --tap
>
--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@osg.samsung.com | (970) 217-8978
next prev parent reply other threads:[~2015-04-02 17:28 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-01 23:20 [PATCH 0/6] selftests: improve cross compilation support Tyler Baker
2015-04-01 23:20 ` Tyler Baker
2015-04-01 23:20 ` [PATCH 1/6] selftest/memfd: enable cross compilation Tyler Baker
2015-04-01 23:20 ` Tyler Baker
2015-04-01 23:20 ` [PATCH 2/6] selftest/kdbus: " Tyler Baker
2015-04-01 23:20 ` Tyler Baker
2015-04-02 17:28 ` Shuah Khan [this message]
2015-04-02 17:28 ` Shuah Khan
2015-04-02 22:04 ` Greg Kroah-Hartman
2015-04-02 22:04 ` Greg Kroah-Hartman
2015-04-03 14:28 ` Greg KH
2015-04-03 14:28 ` Greg KH
2015-04-01 23:20 ` [PATCH 3/6] selftest/mount: " Tyler Baker
2015-04-01 23:20 ` Tyler Baker
2015-04-01 23:20 ` [PATCH 4/6] selftest/memfd: include default header install path Tyler Baker
2015-04-01 23:20 ` Tyler Baker
2015-04-01 23:20 ` [PATCH 5/6] selftest/ipc: enable cross compilation Tyler Baker
2015-04-01 23:20 ` Tyler Baker
2015-04-01 23:20 ` [PATCH 6/6] selftest/mqueue: " Tyler Baker
2015-04-01 23:20 ` Tyler Baker
2015-04-02 13:53 ` [PATCH 0/6] selftests: improve cross compilation support Shuah Khan
2015-04-02 13:53 ` Shuah Khan
2015-04-02 17:19 ` Tyler Baker
2015-04-02 17:19 ` Tyler Baker
2015-04-02 17:23 ` Shuah Khan
2015-04-02 17:23 ` Shuah Khan
2015-04-02 18:47 ` Shuah Khan
2015-04-02 18:47 ` 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=551D7C37.8030701@osg.samsung.com \
--to=shuahkh@osg.samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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.