From owner-freebsd-current@freebsd.org Mon Sep 12 15:50:57 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A407FBD8861 for ; Mon, 12 Sep 2016 15:50:57 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9A4BB798 for ; Mon, 12 Sep 2016 15:50:57 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from [127.0.0.1] (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 2F3DF1807 for ; Mon, 12 Sep 2016 15:50:56 +0000 (UTC) (envelope-from rm@FreeBSD.org) To: FreeBSD Current From: Ruslan Makhmatkhanov Subject: How to properly define nomakeoption? Message-ID: <9045c987-7550-f42e-fd48-2fdffbecbd02@FreeBSD.org> Date: Mon, 12 Sep 2016 18:49:26 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 15:50:57 -0000 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