genconfig.py: allow numbers in config option names
To make it possible to add CONFIG_RAID5. Change-Id: I1712bde5bae552811343fb1865f1224d3adb1c7e Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/854 Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
11495b5c63
commit
339fb7cd15
@ -5,7 +5,7 @@ import re
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
comment = re.compile(r'^\s*#')
|
comment = re.compile(r'^\s*#')
|
||||||
assign = re.compile(r'^\s*([a-zA-Z_]+)\s*(\?)?=\s*([^#]*)')
|
assign = re.compile(r'^\s*([a-zA-Z0-9_]+)\s*(\?)?=\s*([^#]*)')
|
||||||
|
|
||||||
args = os.environ.copy()
|
args = os.environ.copy()
|
||||||
for arg in sys.argv:
|
for arg in sys.argv:
|
||||||
|
Loading…
Reference in New Issue
Block a user