summaryrefslogtreecommitdiffstats
path: root/linux_dpdk
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-11-27 13:37:03 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-11-27 13:37:03 +0200
commitd9c0afbe77386f359d2ba90f1cdbef65f2dfae94 (patch)
tree204921f5b05c6416d3123449c650ffd783713e61 /linux_dpdk
parentbbb25c85dd3df041929debab15eb97618dc60f2d (diff)
Building script: verify 'LDD' key exists
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'linux_dpdk')
-rwxr-xr-xlinux_dpdk/ws_main.py2
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: