diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-11-27 13:37:03 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-11-27 13:37:03 +0200 |
commit | d9c0afbe77386f359d2ba90f1cdbef65f2dfae94 (patch) | |
tree | 204921f5b05c6416d3123449c650ffd783713e61 /linux_dpdk | |
parent | bbb25c85dd3df041929debab15eb97618dc60f2d (diff) |
Building script: verify 'LDD' key exists
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'linux_dpdk')
-rwxr-xr-x | linux_dpdk/ws_main.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux_dpdk/ws_main.py b/linux_dpdk/ws_main.py index b89328a9..28a8f4c1 100755 --- a/linux_dpdk/ws_main.py +++ b/linux_dpdk/ws_main.py @@ -101,6 +101,8 @@ def options(opt): def check_ibverbs_deps(bld): + if 'LDD' not in bld.env or not len(bld.env['LDD']): + bld.fatal('Please run configure. Missing key LDD.') cmd = '%s %s/external_libs/ibverbs/libibverbs.so' % (bld.env['LDD'][0], top) ret, out = getstatusoutput(cmd) if ret or not out: |