[PATCH] LDFLAGS configuration
Jason Schoon
floydpink at gmail.com
Thu Jun 8 18:12:23 UTC 2006
On 6/8/06, Shaun Jackman <sjackman at gmail.com> wrote:
>
> On 6/8/06, Rob Landley <rob at landley.net> wrote:
> > On Wednesday 07 June 2006 7:48 pm, Shaun Jackman wrote:
> > > There needs to be some mechanism to configure both features and the
> > > build environment. If we want to reserve make config for features
> > > alone, let's have Rules.mak include .config.mak if it exists, and
> > > allow the user to edit .config.mak and add CFLAGS, LDFLAGS, LDLIBS,
> > > and whatever else tickles his or her fancy, there.
> >
> > As long as we document that in the FAQ and the README, it would work for
> me...
>
> I haven't included the documentation changes, yet, but here's my
> proposed patch. It removes EXTRA_CFLAGS, instead preferring the user
> simply add to CFLAGS using CFLAGS+= in .config.mak. I haven't yet
> removed CROSS_COMPILER_PREFIX, but it should go as well.
Yes, CROSS_COMPILER_PREFIX should go in there as well. I never liked having
those values in the .config, as it didn't make sense when I built for
differing architectures. I always pass those values on the command line,
and will continue to do so now as well. I'm assuming that moving these to
.config.mak does not prevent me from overriding them via the command line?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20060608/fe738221/attachment-0001.htm
More information about the busybox
mailing list