[OE-core] [PATCH 02/11] mdadm: Make custom CC definition conditional

Kamble, Nitin A nitin.a.kamble at intel.com
Thu Dec 8 18:36:04 UTC 2011



> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
> Khem Raj
> Sent: Wednesday, December 07, 2011 11:20 PM
> To: Patches and discussions about the oe-core layer
> Cc: hjl.tools at gmail.com
> Subject: Re: [OE-core] [PATCH 02/11] mdadm: Make custom CC definition
> conditional
> 
> On Wed, Dec 7, 2011 at 9:48 PM,  <nitin.a.kamble at intel.com> wrote:
> > +
> > ++ifndef CC
> > + CC = $(CROSS_COMPILE)gcc
> > ++endif
> > ++
> 
> may be you could do
> 
> CC ?= $(CROSS_COMPILE)gcc
> here instead

Yes, This way also works the same, I changed the commit accordingly.

> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list