[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1299720486.15854.271.camel@gandalf.stny.rr.com>
Date: Wed, 09 Mar 2011 20:28:06 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: David Sharp <dhsharp@...gle.com>
Cc: linux-kernel@...r.kernel.org, mrubin@...gle.com,
Darren Hart <dvhart@...ux.intel.com>
Subject: Re: [PATCH trace-cmd 3/3] Revert "trace-cmd: Use conditional
assignment of CC and AR"
On Wed, 2011-03-09 at 20:21 -0500, Steven Rostedt wrote:
> On Wed, 2011-03-09 at 15:58 -0800, David Sharp wrote:
> > This reverts commit 6c696cec3f264a9399241b6e648f58bc97117d49.
> >
> > Make has default values CC and AR of 'cc' and 'ar' respectively. This means
> > that "CC ?= anything" will never have effect, because CC is always already set.
> > Because of this, 6c696cec makes setting CROSS_COMPILE from the command line or
> > environment useless.
>
> Darren, can you verify this, as you were the one to make the original
> change. I never had to cross compile it, I always did it natively.
OK, I just proved that David is correct, with the following make file:
---
CC ?= foo
AR ?= bar
all:
echo what is $(CC) $(AR)
---
$ make
what is cc ar
Darren, can you just give an Acked-by anyway. I hate to apply a revert
of your patch without you doing so.
Thanks,
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists