diff options
Diffstat (limited to 'meta-dpdk/recipes-extended/dpdk/dpdk.inc')
-rw-r--r-- | meta-dpdk/recipes-extended/dpdk/dpdk.inc | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/meta-dpdk/recipes-extended/dpdk/dpdk.inc b/meta-dpdk/recipes-extended/dpdk/dpdk.inc index ba382675..c1d01491 100644 --- a/meta-dpdk/recipes-extended/dpdk/dpdk.inc +++ b/meta-dpdk/recipes-extended/dpdk/dpdk.inc | |||
@@ -12,7 +12,10 @@ SRC_URI = "http://fast.dpdk.org/rel/${BP}.tar.gz;name=dpdk \ | |||
12 | file://dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch \ | 12 | file://dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch \ |
13 | " | 13 | " |
14 | 14 | ||
15 | COMPATIBLE_MACHINE = "intel-corei7-64" | 15 | # A machine needs to enable this using: |
16 | # COMPATIBLE_MACHINE_pn-dpdk-dev-libibverbs = "<machine name>" | ||
17 | |||
18 | COMPATIBLE_MACHINE = "null" | ||
16 | COMPATIBLE_HOST_libc-musl_class-target = "null" | 19 | COMPATIBLE_HOST_libc-musl_class-target = "null" |
17 | 20 | ||
18 | 21 | ||
@@ -55,16 +58,9 @@ export ICP_LAC_API_DIR = "${STAGING_DIR_TARGET}${includedir}/lac" | |||
55 | # process mapping. The supported target machine is listed under | 58 | # process mapping. The supported target machine is listed under |
56 | # dpdk/mk/machine | 59 | # dpdk/mk/machine |
57 | def get_dpdk_target_mach(bb, d): | 60 | def get_dpdk_target_mach(bb, d): |
58 | target_arch = d.getVar('MACHINE_ARCH', True) | 61 | target_arch = d.getVar('DPDK_TARGET_MACHINE', True) |
59 | multiarch_options = { | 62 | if target_arch: |
60 | "mohonpeak64": "atm", | 63 | target_arch |
61 | "mohonpeak32": "atm", | ||
62 | "crystalforest": "ivb", | ||
63 | "intel_corei7_64": "atm", | ||
64 | } | ||
65 | |||
66 | if target_arch in multiarch_options : | ||
67 | return multiarch_options[target_arch] | ||
68 | return "default" | 64 | return "default" |
69 | 65 | ||
70 | do_configure () { | 66 | do_configure () { |