svn commit: r213576 - stable/8/usr.sbin/config

Ed Maste emaste at FreeBSD.org
Fri Oct 8 14:56:39 UTC 2010


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); } ;
 


More information about the svn-src-all mailing list