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>
This commit is contained in:
Kevin Hao 2018-04-13 13:07:00 +08:00 committed by California Sullivan
parent 873cc2a144
commit 250bc6207f

View File

@ -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 () {