Re: [U-Boot] [PATCH v2 2/6] config.mk: Make cc-option create a file under include/generated

2012-02-14 Thread Tom Rini
On Mon, Feb 13, 2012 at 10:43 PM, Mike Frysinger wrote: > On Monday 13 February 2012 18:02:02 Tom Rini wrote: >> isnt possible with /dev/null. > > isn't > >> --- a/config.mk >> +++ b/config.mk >> >> -cc-option-sys = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc >> /dev/null \ >> -          

Re: [U-Boot] [PATCH v2 2/6] config.mk: Make cc-option create a file under include/generated

2012-02-13 Thread Mike Frysinger
On Monday 13 February 2012 18:02:02 Tom Rini wrote: > isnt possible with /dev/null. isn't > --- a/config.mk > +++ b/config.mk > > -cc-option-sys = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc > /dev/null \ > - > /dev/null 2>&1; then \ > +cc-option-sys = $(shell mkdir -p $(dir

[U-Boot] [PATCH v2 2/6] config.mk: Make cc-option create a file under include/generated

2012-02-13 Thread Tom Rini
Testing for -fstack-usage requires the creation of an output file, which isnt possible with /dev/null. Signed-off-by: Tom Rini --- config.mk | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.mk b/config.mk index ddaa477..519bc1b 100644 --- a/config.mk +++ b