[oe-commits] Joe Slater : iproute2: pass CFLAGS to Makefile\

git at git.openembedded.org git at git.openembedded.org
Sat Nov 24 15:14:28 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 8d71f7d33c18bb0a975eb86d602bda42db4baa2c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8d71f7d33c18bb0a975eb86d602bda42db4baa2c

Author: Joe Slater <jslater at windriver.com>
Date:   Thu Nov 15 09:47:49 2012 -0800

iproute2: pass CFLAGS to Makefile\

Makefile computes CFLAGS, but we can see that our
defaults get included by using CCOPTS to pass them
to make.

Upstream-Status: Pending

Signed-off-by: Joe Slater <jslater at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../iproute2/iproute2_3.5.1.bb                     |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-connectivity/iproute2/iproute2_3.5.1.bb b/meta/recipes-connectivity/iproute2/iproute2_3.5.1.bb
index c1e9bd3..3d402cf 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_3.5.1.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_3.5.1.bb
@@ -1,9 +1,13 @@
 require iproute2.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BPN}-${PV}.tar.xz \
            file://configure-cross.patch"
 
 SRC_URI[md5sum] = "d4425b44edd5eacd6099e672e4baacbf"
 SRC_URI[sha256sum] = "36f2674e5436289f3ccfb0a58707aca9dcfa295d06afc36d2117674508f5ef72"
+
+# CFLAGS are computed in Makefile and reference CCOPTS
+#
+EXTRA_OEMAKE_append = " CCOPTS='${CFLAGS}'"





More information about the Openembedded-commits mailing list