From owner-svn-src-stable@FreeBSD.ORG  Fri Oct  8 14:56:39 2010
Return-Path: <owner-svn-src-stable@FreeBSD.ORG>
Delivered-To: svn-src-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5CED3106566C;
	Fri,  8 Oct 2010 14:56:39 +0000 (UTC)
	(envelope-from emaste@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c])
	by mx1.freebsd.org (Postfix) with ESMTP id 4C9288FC13;
	Fri,  8 Oct 2010 14:56:39 +0000 (UTC)
Received: from svn.freebsd.org (localhost [127.0.0.1])
	by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o98EudTj097166;
	Fri, 8 Oct 2010 14:56:39 GMT (envelope-from emaste@svn.freebsd.org)
Received: (from emaste@localhost)
	by svn.freebsd.org (8.14.3/8.14.3/Submit) id o98Eudsg097164;
	Fri, 8 Oct 2010 14:56:39 GMT (envelope-from emaste@svn.freebsd.org)
Message-Id: <201010081456.o98Eudsg097164@svn.freebsd.org>
From: Ed Maste <emaste@FreeBSD.org>
Date: Fri, 8 Oct 2010 14:56:39 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
	svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
X-SVN-Group: stable-8
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: 
Subject: svn commit: r213576 - stable/8/usr.sbin/config
X-BeenThere: svn-src-stable@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: SVN commit messages for all the -stable branches of the src tree
	<svn-src-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>, 
	<mailto:svn-src-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable>
List-Post: <mailto:svn-src-stable@freebsd.org>
List-Help: <mailto:svn-src-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-stable>,
	<mailto:svn-src-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Oct 2010 14:56:39 -0000

Author: emaste
Date: Fri Oct  8 14:56:39 2010
New Revision: 213576
URL: http://svn.freebsd.org/changeset/base/213576

Log:
  MFC r212570:
  
    Allow a kernel config to specify a set but empty value via
    'makeoptions OPTION=' for consistency with the make commandline.
  
    Previously 'makeoptions WERROR=' would result in a syntax error; now
    it produces the same effect as 'makeoptions WERROR'.  Both forms now
    result in 'WERROR=' in the generated Makefile.

Modified:
  stable/8/usr.sbin/config/config.y
Directory Properties:
  stable/8/usr.sbin/config/   (props changed)

Modified: stable/8/usr.sbin/config/config.y
==============================================================================
--- stable/8/usr.sbin/config/config.y	Fri Oct  8 14:50:58 2010	(r213575)
+++ stable/8/usr.sbin/config/config.y	Fri Oct  8 14:56:39 2010	(r213576)
@@ -261,6 +261,7 @@ Mkopt_list:
 
 Mkoption:
 	Save_id { newopt(&mkopt, $1, ns(""), 0); } |
+	Save_id EQUALS { newopt(&mkopt, $1, ns(""), 0); } |
 	Save_id EQUALS Opt_value { newopt(&mkopt, $1, $3, 0); } |
 	Save_id PLUSEQUALS Opt_value { newopt(&mkopt, $1, $3, 1); } ;