genconfig: add special case for DPDK_DIR shorthand
Change-Id: Iaf7195316c757b22cb601318c38762b3fd6f7c0e Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
0ee75c5fc4
commit
49369134cf
@ -15,6 +15,10 @@ for arg in sys.argv:
|
||||
val = m.group(3).strip()
|
||||
args[var] = val
|
||||
|
||||
# special case for DPDK_DIR, which is short for CONFIG_DPDK_DIR
|
||||
if 'DPDK_DIR' in args and 'CONFIG_DPDK_DIR' not in args:
|
||||
args['CONFIG_DPDK_DIR'] = args['DPDK_DIR']
|
||||
|
||||
with open('CONFIG') as f:
|
||||
for line in f:
|
||||
line = line.strip()
|
||||
|
Loading…
Reference in New Issue
Block a user