summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOng Boon Leong <boon.leong.ong@intel.com>2015-07-10 13:23:45 (GMT)
committerSaul Wold <sgw@linux.intel.com>2015-07-10 20:52:28 (GMT)
commit3bbcb7aa8cb6e3bbb48eab9e3a969c379b01cb48 (patch)
tree5e7d14398f14a0ca795da56413f87dc7c6691792
parentede3c9997225e65dbc83a62462481aba29945a98 (diff)
downloadmeta-intel-3bbcb7aa8cb6e3bbb48eab9e3a969c379b01cb48.tar.gz
meta-isg: dpdk: fix GCC compiler LDFLAG and CFLAG issue
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 <boon.leong.ong@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta-isg/common/recipes-extended/dpdk/dpdk.inc4
1 files 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 () {
34 unset LDFLAGS TARGET_LDFLAGS BUILD_LDFLAGS 34 unset LDFLAGS TARGET_LDFLAGS BUILD_LDFLAGS
35 35
36 cd ${S}/${RTE_TARGET} 36 cd ${S}/${RTE_TARGET}
37 oe_runmake EXTRA_LDFLAGS=" --sysroot=${STAGING_DIR_HOST}" \ 37 oe_runmake EXTRA_LDFLAGS="-L${STAGING_LIBDIR}" \
38 EXTRA_CFLAGS=" --sysroot=${STAGING_DIR_HOST}" \ 38 EXTRA_CFLAGS="--sysroot=${STAGING_DIR_HOST} -I${STAGING_INCDIR}" \
39 CROSS="${TARGET_PREFIX}" \ 39 CROSS="${TARGET_PREFIX}" \
40 prefix="" LDFLAGS="" WERROR_FLAGS="-w" V=1 40 prefix="" LDFLAGS="" WERROR_FLAGS="-w" V=1
41} 41}