Subject: Re: another makefile mystery: COPTS
To: Todd Whitesel <email@example.com>
From: Frederick Bruckman <firstname.lastname@example.org>
Date: 01/20/2000 05:50:38
On Thu, 20 Jan 2000, Todd Whitesel wrote:
> > As Frederick pointed out, they won't overwrite existing COPTS. :-)
> That doesn't help. I think I already explained why.
> > I think the idea is that you'd use the makeoptions to explicitly set these
> > options in the kernel config file. That way your script only has to config
> > FOO; cd ../compile/FOO; make depend && make . ;-)
> Sure, that's the _idea_, but it doesn't support the mode I'm trying to use.
> I think it's pretty clear that I'm the only customer for what I want here.
> I'll go off and hack something now.
What's wrong with ``makeoptions "COPTS+=foo"'' in the config, and
therefore ``COPTS+=foo'' in the kernel Makefile? The `+' will add to
your environment setting, instead of overwriting it.