Commit 49369134 authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Ben Walker
Browse files

genconfig: add special case for DPDK_DIR shorthand



Change-Id: Iaf7195316c757b22cb601318c38762b3fd6f7c0e
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 0ee75c5f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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()