[PATCH] Allow BUILD_CFLAGS and TARGET_CFLAGS to be specified at configure time

Simon Horman horms at verge.net.au
Tue Jul 15 20:14:17 EDT 2008


Hi Jermemy,

> Hi Horms,
> 
> > Can we get rid of TARGET_CFLAGS? It doesn't seem to be used anywhere.
> 
> We need a way to specify cflags to build things in the target arch (ie,
> purgatory). It looks like we're getting around this by specifying the
> purgatory's cflags in purgatory/arch/$ARCH/Makefile, which I guess is
> ok.
> 
> I'm able to build a powerpc64 kexec to run on a powerpc32 machine,
> which is what I'm after here. I still get a bunch of warnings though:

I'm quite fine with the idea of having TARGET_CFLAGS,
its just that it doesn't seem to be used at this time.
Then again, it isn't doing any harm.

-- 
Horms




More information about the kexec mailing list