aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2018-04-13 13:07:00 +0800
committerCalifornia Sullivan <california.l.sullivan@intel.com>2018-04-16 16:47:50 -0700
commit250bc6207f7a91911d6ab12e7c0f654b709a3ede (patch)
tree03d8d7d102e1165c84c560f5268d67303d3f1781
parent873cc2a1448deac1fde9a989b34ca5185201cac9 (diff)
downloadmeta-dpdk-250bc6207f7a91911d6ab12e7c0f654b709a3ede.tar.gz
meta-dpdk-250bc6207f7a91911d6ab12e7c0f654b709a3ede.tar.bz2
meta-dpdk-250bc6207f7a91911d6ab12e7c0f654b709a3ede.zip
dpdk: Add the missing return in get_dpdk_target_mach()
Otherwise it always return "default" no matter what we set in "DPDK_TARGET_MACHINE". Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
-rw-r--r--recipes-extended/dpdk/dpdk.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index aa03a67..01724fb 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -65,7 +65,7 @@ export ARCHDIR = "generic"
def get_dpdk_target_mach(bb, d):
target_arch = d.getVar('DPDK_TARGET_MACHINE', True)
if target_arch:
- target_arch
+ return target_arch
return "default"
do_configure () {