Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2016 18:49:26 +0300
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   How to properly define nomakeoption?
Message-ID:  <9045c987-7550-f42e-fd48-2fdffbecbd02@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9045c987-7550-f42e-fd48-2fdffbecbd02>