summaryrefslogtreecommitdiffstats
path: root/meta-isg/common/recipes-extended
diff options
context:
space:
mode:
authorOng Boon Leong <boon.leong.ong@intel.com>2015-07-10 21:23:45 +0800
committerSaul Wold <sgw@linux.intel.com>2015-07-10 08:16:04 -0700
commit1d8bee6450388c89b1b4fd034d734e8f38bba917 (patch)
tree47d2e6ae355431e569b81499acb49755c39cb870 /meta-isg/common/recipes-extended
parent634f91c982b34c63cccb142711007d5dea60797c (diff)
downloadmeta-intel-1d8bee6450388c89b1b4fd034d734e8f38bba917.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>
Diffstat (limited to 'meta-isg/common/recipes-extended')
-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 61b32592..e1670c50 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}