appending to CFLAGS
Gautam Gopalakrishnan
ggop at madras.dyndns.org
Sat Jan 10 06:52:18 PST 2004
On Sat, Jan 10, 2004 at 08:47:16AM -0600, David Fleck wrote:
> 4.9-RELEASE-p1.
>
> I'm trying to debug a kernel module (vpo.ko) that used to work, but now
> doesn't. As a first step, I'd like to build the module in
> /usr/src/sys/modules/vpo with VPO_DEBUG set.
>
> However, my attempts to add the VPO_DEBUG define to the build fail,
> because my syntax results in VPO_DEBUG replacing CFLAGS, not appended to
> it. I'm trying:
>
> make "CFLAGS+=VPO_DEBUG"
You could take the easy way and add it to CFLAGS in /etc/make.conf
Gautam
More information about the freebsd-questions
mailing list