aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-18dpdk: support build with external & multilib toolchainssumoArsalan H. Awan1-4/+4
This fixes dpdk build when using an external toolchain by adding the HOST_CC_ARCH & TOOLCHAIN_OPTIONS to EXTRA_CFLAGS the way standard Yocto does it to gather all the necessary flags for compilation. The TOOLCHAIN_OPTIONS variable also provides the sysroot flag, so no need to explicitly provide the sysroot. This commit also fixes the build when using a multilib toolchain by adding the LDEMULATION flags to the LDFLAGS via TUNE_LDARGS which are required while linking with a multilib toolchain. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-10-08dpdk: upgrade to latest stable release 18.02.2Arsalan H. Awan1-2/+4
This upgrades DPDK to the latest stable release v18.02.2 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-04-30dpdk: Set the correct RTE_TARGET for x86 machinesKevin Hao1-1/+1
The TARGET_ARCH may be different for different x86 machines, for example i586(qemux86) and i686(genericx86). So choose the "x86" override to set the correct RTE_TARGET for these machines. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-30dpdk: Fix the self reference error when building with unsupported archKevin Hao1-4/+4
Fix the following parse error when building with unsupported arch, such as arm: bb.data_smart.ExpansionError: Failure expanding variable RTE_TARGET, expression was ${RTE_TARGET} which triggered exception Exception: variable RTE_TARGET references itself! Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-16dpdk: Add support for arm64Kevin Hao1-3/+6
Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-16dpdk: Add the missing return in get_dpdk_target_mach()Kevin Hao1-1/+1
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>
2018-04-16dpdk: Remove the useless checksumsKevin Hao2-6/+0
After changing to the git repo, these checksums become useless. Just drop them. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-12dpdk: move common fragments to includeAwais Belal3-21/+7
This cleans up the versioned recipes and moves the common fragments to the include so to make the maintenance easy. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-12dpdk: Use git repoKevin Hao3-2/+11
This is more convenient for development. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-09dpdk: remove dpdk-16.04-Fix-for-misleading-indentation-error.patchCalifornia Sullivan2-55/+0
Upstream fixed the misleading indentation so this patch is no longer necessary. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-09dpdk: Refresh the patches for the context changesKevin Hao7-61/+47
Using the following commands to refresh the patches in order to suppress the fuzz warnings. devtool modify dpdk devtool finish --force-patch-refresh dpdk meta-dpdk-dir No code change. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-09Add compatible for "sumo"Kevin Hao1-1/+1
The latest Yocto has changed the LAYERSERIES_CORENAMES to "sumo". So add it to the compatible list. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-09dpdk: Introduce the 17.11.1Kevin Hao1-0/+19
This is the latest stable version. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-09dpdk: Factor out the license info into the specific bbKevin Hao2-4/+5
The license files may be different between different versions. So move them into the specific bb files. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-03dpdk.inc: fix missing numa.h by disabling NUMA options by defaultCalifornia Sullivan1-0/+4
Otherwise we get this: | dpdk-18.02/lib/librte_eal/linuxapp/eal/eal_memory.c:27:10: fatal error: numa.h: No such file or directory | #include <numa.h> | ^~~~~~~~ | compilation terminated. Use PACKAGECONFIG to optionally enable the numa option. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-03-30dpdk: upgrade to 18.02Awais Belal3-34/+5
This upgrades the dpdk package to 18.02 which is the latest release and drops a patch that has already been merged upstream in this package. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-05dpdk: Add dpdk-test to include test programsHe Zhe1-1/+21
Install and ship test programs into dpdk-test. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-05dpdk: use virtual/libibverbsChen Qi1-2/+2
We have multiple recipes in different layers providing the same libibverbs library, so we need to use virtual/libibverbs to avoid potential errors. Make dpdk depend on virtual/libibverbs instead of hardcoding dpdk-dev-libibverbs. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-05dpdk-dev-libibverbs: provide virtual/libibverbsChen Qi1-0/+3
dpdk-dev-libibverbs is not the only recipe that provides libibverbs. In meta-cloud-services, we have a recipe called libibverbs. As both recipes provide the same library, we need to avoid building both at the same time at one build. Use 'virtual/libibverbs' to avoid such problem. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-01-05dpdk-dev-libibverbs: fix do_fetch failure in case of multilibChen Qi1-4/+4
Fix to correctly set SRC_URI and S to avoid do_fetch failure in case of multilib. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-09-26Removal of meta-intel content to make meta-dpdk standaloneSaul Wold244-15539/+15
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-09-26Initial commit from meta-intel 2f1bcac3fb3b42602f689fb4a1092aa5f4cf0c8aSaul Wold246-0/+16473