Patchwork iproute2: pass CFLAGS to Makefile\

login
register
mail settings
Submitter Joe Slater
Date Nov. 15, 2012, 5:47 p.m.
Message ID <1353001669-31806-1-git-send-email-jslater@windriver.com>
Download mbox | patch
Permalink /patch/39123/
State Accepted
Commit d241626215c420d931074b065f492542471ae242
Headers show

Comments

Joe Slater - Nov. 15, 2012, 5:47 p.m.
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@windriver.com>
---
 .../iproute2/iproute2_3.5.1.bb                     |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

Patch

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}'"