diff options
author | Ed Maste <emaste@FreeBSD.org> | 2010-09-13 18:26:34 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2010-09-13 18:26:34 +0000 |
commit | cbb9ebd738981292ab65558e231987415552f589 (patch) | |
tree | 733562e03aa6a7dfe6da8c1ba88ff4869cd5a906 /usr.sbin/config | |
parent | ec88dcaec13daa417b8493cdb08564faca363d78 (diff) | |
download | src-cbb9ebd738981292ab65558e231987415552f589.tar.gz src-cbb9ebd738981292ab65558e231987415552f589.zip |
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.
Notes
Notes:
svn path=/head/; revision=212570
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/config.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y index 430bbf09602d..808b67317ea2 100644 --- a/usr.sbin/config/config.y +++ b/usr.sbin/config/config.y @@ -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); } ; |