| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Also make sure that scripts use python3.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
| |
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building examples and tests with GCC9, the following errors come up,
error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
382 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
cc1: all warnings being treated as errors
dpdk itself already appends -O3 the EXTRA_CFLAGS for some of those cases, but
dpdk.inc overwrites EXTRA_CFLAGS when evoking make. This patches adds it back.
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
|
| |
These two patches can't be applied to the new version DPDK, so move
them to the version specific bb.
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
|
|
| |
Install helper makefiles [1] that might be helpful when compiling apps with
SDK or on target.
[1] https://doc.dpdk.org/guides/prog_guide/dev_kit_build_system.html#makefile-description
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently the examples&test applications would be installed into
directories like:
/usr/share/examples
/usr/share/test
These directories just seem too general, so change them to:
/usr/share/dpdk/examples
/usr/share/dpdk/test
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
|
|
|
| |
The upstream repo has been taken down and the role of libibverbs has
been taken over by rdma-core instead [1][2].
[1] https://www.openfabrics.org/downloads/verbs/README.html
[2] https://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git/tree/README
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Upstream fixed the misleading indentation so this patch is no longer
necessary.
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|