Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752663AbbDBR20 (ORCPT ); Thu, 2 Apr 2015 13:28:26 -0400 Received: from lists.s-osg.org ([54.187.51.154]:33669 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617AbbDBR2Z (ORCPT ); Thu, 2 Apr 2015 13:28:25 -0400 Message-ID: <551D7C37.8030701@osg.samsung.com> Date: Thu, 02 Apr 2015 11:28:23 -0600 From: Shuah Khan Organization: Samsung Open Source Group User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Tyler Baker , Greg Kroah-Hartman CC: Kevin Hilman , John Stultz , Darren Hart , David Herrmann , Michael Ellerman , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/6] selftest/kdbus: enable cross compilation References: <1427930420-4762-1-git-send-email-tyler.baker@linaro.org> <1427930420-4762-3-git-send-email-tyler.baker@linaro.org> In-Reply-To: <1427930420-4762-3-git-send-email-tyler.baker@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1360 Lines: 53 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 Greg, Will you be able to take this patch in with the other kdbus sleftest patches? Acked-by: Shuah Khan 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/