How to properly define nomakeoption?

Ruslan Makhmatkhanov rm at FreeBSD.org
Mon Sep 12 15:50:57 UTC 2016


The subject says it. I'm trying to override/reset DEBUG and WITH_CTF 
make options in kernel config file, but can't realize what the correct 
syntax is.

GENERIC have this two:
makeoptions	DEBUG=-g
makeoptions	WITH_CTF=1

So I'm trying something like:

include GENERIC-NODEBUG
ident PROD

nomakeoption    DEBUG
nomakeoption    WITH_CTF

(also tried nomakeoptions DEBUG,WITH_CTF)

And they both fails with syntax error. How it supposed to be written?
Thanks.

-- 
Regards,
Ruslan

T.O.S. Of Reality


More information about the freebsd-current mailing list