diff options
author | Chunrong Guo <chunrong.guo@nxp.com> | 2018-11-14 04:06:57 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-11-19 10:17:28 -0200 |
commit | 930368e5d76cf0b5582ae06e450dc83725b1274f (patch) | |
tree | f70d7cb5595069b62fe8a5bb1aa1a7e1059e18fc /recipes-extended/dpdk | |
parent | 9594fe7247fdcc4bc6a5080c966545cdd5d2230b (diff) | |
download | meta-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.bb | 2 |
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" | |||
23 | export ETHTOOL_LIB_PATH = "${S}/examples/ethtool/lib/${RTE_TARGET}/" | 23 | export ETHTOOL_LIB_PATH = "${S}/examples/ethtool/lib/${RTE_TARGET}/" |
24 | 24 | ||
25 | EXTRA_OEMAKE += 'ARCH="${ARCH}" CROSS="${TARGET_PREFIX}" \ | 25 | EXTRA_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 | ' |