[oe-commits] Chris Larson : net-tools: use bitbake variables rather than shell variables in do_compile

git version control git at git.openembedded.org
Wed May 19 19:54:26 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 9026e6ae699765ec96991c7640c2a28651bcdfb5
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9026e6ae699765ec96991c7640c2a28651bcdfb5

Author: Chris Larson <chris_larson at mentor.com>
Date:   Wed May 19 12:53:33 2010 -0700

net-tools: use bitbake variables rather than shell variables in do_compile

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 recipes/net-tools/net-tools_1.60.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/net-tools/net-tools_1.60.bb b/recipes/net-tools/net-tools_1.60.bb
index a370d83..fcda747 100644
--- a/recipes/net-tools/net-tools_1.60.bb
+++ b/recipes/net-tools/net-tools_1.60.bb
@@ -83,8 +83,8 @@ do_compile() {
     unset LDFLAGS
 
     oe_runmake
-    $CC $CFLAGS -o ether-wake ether-wake.c
-    $CC $CFLAGS -o mii-diag   mii-diag.c
+    ${CC} ${CFLAGS} ${LDFLAGS} -o ether-wake ether-wake.c
+    ${CC} ${CFLAGS} ${LDFLAGS} -o mii-diag   mii-diag.c
 }
 
 do_install() {





More information about the Openembedded-commits mailing list