mirror of
git://git.yoctoproject.org/meta-dpdk.git
synced 2025-07-19 21:09:04 +02:00
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:
parent
873cc2a144
commit
250bc6207f
|
@ -65,7 +65,7 @@ export ARCHDIR = "generic"
|
||||||
def get_dpdk_target_mach(bb, d):
|
def get_dpdk_target_mach(bb, d):
|
||||||
target_arch = d.getVar('DPDK_TARGET_MACHINE', True)
|
target_arch = d.getVar('DPDK_TARGET_MACHINE', True)
|
||||||
if target_arch:
|
if target_arch:
|
||||||
target_arch
|
return target_arch
|
||||||
return "default"
|
return "default"
|
||||||
|
|
||||||
do_configure () {
|
do_configure () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user