On 2016-11-03 17:28, [email protected] wrote: > Hi, > If you use a cross build system (yocto,...), you may want to use CC value > from build environnement. > > Ronan Le Martret [iot.bzh] >
Inlined is generally easier to process - next time ;) > From fb28a28f8498c15176992a700ceb83776f8370de Mon Sep 17 00:00:00 2001 > From: Ronan <[email protected]> > Date: Thu, 3 Nov 2016 16:55:38 +0100 > Subject: [PATCH] allow used of CC from build environnement > > * If you use a cross build system (yocto,...) > you may want to use CC value from build environnement. I've removed the formatting... > > Signed-off-by: Ronan <[email protected]> > --- > tools/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/Makefile b/tools/Makefile > index 9b6e176..657384a 100644 > --- a/tools/Makefile > +++ b/tools/Makefile > @@ -10,7 +10,7 @@ > # the COPYING file in the top-level directory. > # > > -CC = $(CROSS_COMPILE)gcc > +CC ?= $(CROSS_COMPILE)gcc > > CFLAGS = -g -O3 -I../driver -DLIBEXECDIR=\"$(libexecdir)\" \ > -Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Werror \ ...and queued it for next. Thanks, Jan -- Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
