DPDK v1.8.0 has some change made on app makefile that breaks dpdk.inc may on passing in EXTRA_CFLAGS AND EXTRA_LDFLAGS. So this patch re-tune the dpdk.inc to align to the change.
Signed-off-by: Ong Boon Leong <[email protected]> --- meta-isg/common/recipes-extended/dpdk/dpdk.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk.inc b/meta-isg/common/recipes-extended/dpdk/dpdk.inc index 61b3259..e1670c5 100644 --- a/meta-isg/common/recipes-extended/dpdk/dpdk.inc +++ b/meta-isg/common/recipes-extended/dpdk/dpdk.inc @@ -34,8 +34,8 @@ do_compile () { unset LDFLAGS TARGET_LDFLAGS BUILD_LDFLAGS cd ${S}/${RTE_TARGET} - oe_runmake EXTRA_LDFLAGS=" --sysroot=${STAGING_DIR_HOST}" \ - EXTRA_CFLAGS=" --sysroot=${STAGING_DIR_HOST}" \ + oe_runmake EXTRA_LDFLAGS="-L${STAGING_LIBDIR}" \ + EXTRA_CFLAGS="--sysroot=${STAGING_DIR_HOST} -I${STAGING_INCDIR}" \ CROSS="${TARGET_PREFIX}" \ prefix="" LDFLAGS="" WERROR_FLAGS="-w" V=1 } -- 1.7.9.5 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
