summaryrefslogtreecommitdiffstats
path: root/recipes-extended/dpdk
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2018-11-14 04:06:57 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2018-11-19 10:17:28 -0200
commit930368e5d76cf0b5582ae06e450dc83725b1274f (patch)
treef70d7cb5595069b62fe8a5bb1aa1a7e1059e18fc /recipes-extended/dpdk
parent9594fe7247fdcc4bc6a5080c966545cdd5d2230b (diff)
downloadmeta-freescale-930368e5d76cf0b5582ae06e450dc83725b1274f.tar.gz
dpdk: add '-fPIC' to CPU_CFLAGS
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-extended/dpdk')
-rw-r--r--recipes-extended/dpdk/dpdk_17.11.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/dpdk/dpdk_17.11.bb b/recipes-extended/dpdk/dpdk_17.11.bb
index 1cfecda6..b32febd9 100644
--- a/recipes-extended/dpdk/dpdk_17.11.bb
+++ b/recipes-extended/dpdk/dpdk_17.11.bb
@@ -23,7 +23,7 @@ export RTE_TARGET = "${ARCH}-${DPAA_VER}-linuxapp-gcc"
23export ETHTOOL_LIB_PATH = "${S}/examples/ethtool/lib/${RTE_TARGET}/" 23export ETHTOOL_LIB_PATH = "${S}/examples/ethtool/lib/${RTE_TARGET}/"
24 24
25EXTRA_OEMAKE += 'ARCH="${ARCH}" CROSS="${TARGET_PREFIX}" \ 25EXTRA_OEMAKE += 'ARCH="${ARCH}" CROSS="${TARGET_PREFIX}" \
26 CPU_CFLAGS="--sysroot=${STAGING_DIR_HOST}" RTE_SDK="${S}" \ 26 CPU_CFLAGS="-fPIC --sysroot=${STAGING_DIR_HOST}" RTE_SDK="${S}" \
27 OPENSSL_PATH="${STAGING_DIR_HOST}" RTE_KERNELDIR="${STAGING_KERNEL_DIR}" \ 27 OPENSSL_PATH="${STAGING_DIR_HOST}" RTE_KERNELDIR="${STAGING_KERNEL_DIR}" \
28 RTE_KERNELDIR_OUT="${STAGING_KERNEL_BUILDDIR}" \ 28 RTE_KERNELDIR_OUT="${STAGING_KERNEL_BUILDDIR}" \
29' 29'