[oe-commits] Joe Slater : procps: pass CFLAGS to make

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


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

Author: Joe Slater <jslater at windriver.com>
Date:   Thu Nov 15 17:29:54 2012 +0000

procps: pass CFLAGS to make

EXTRA_OEMAKE in the recipe currently discards the
environment CFLAGS when setting CFLAGS passed to make.
We change that to include these options.

Signed-off-by: Joe Slater <jslater at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/procps/procps_3.2.8.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb
index 7b011a0..3f20bea 100644
--- a/meta/recipes-extended/procps/procps_3.2.8.bb
+++ b/meta/recipes-extended/procps/procps_3.2.8.bb
@@ -1,6 +1,6 @@
 require procps.inc
 
-PR = "r9"
+PR = "r10"
 
 SRC_URI += "file://procmodule.patch \
             file://psmodule.patch \
@@ -13,12 +13,12 @@ SRC_URI += "file://procmodule.patch \
 SRC_URI[md5sum] = "9532714b6846013ca9898984ba4cd7e0"
 SRC_URI[sha256sum] = "11ed68d8a4433b91cd833deb714a3aa849c02aea738c42e6b4557982419c1535"
 
-EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \
+EXTRA_OEMAKE = 'CFLAGS="${CFLAGS} -I${STAGING_INCDIR}" \
                 CPPFLAGS=-I${STAGING_INCDIR} \
                 LDFLAGS="${LDFLAGS}" \
                 CURSES=-lncurses \
-                install='install -D' \
-                ldconfig=echo"
+                install="install -D" \
+                ldconfig=echo'
 
 do_install_append () {
 	install -d ${D}${sysconfdir}





More information about the Openembedded-commits mailing list