[oe-commits] Antonio Ospite : ezx/ezx-gpiotool_svn.bb: make the recipe build again

git version control git at git.openembedded.org
Thu Apr 21 20:02:37 UTC 2011


Module: openembedded.git
Branch: testing-next
Commit: 890db97d19acb2272b258fbbcc3880e984164758
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=890db97d19acb2272b258fbbcc3880e984164758

Author: Antonio Ospite <ospite at studenti.unina.it>
Date:   Mon Apr 18 14:09:37 2011 +0200

ezx/ezx-gpiotool_svn.bb: make the recipe build again

Pass ${LDFLAGS} in order to make the following error go away:
ERROR: QA Issue with ezx-gpiotool: No GNU_HASH in the elf binary

This is a workaround until the upstream Makefile is fixed properly.

While at it remove the unused do_stage() function.

Signed-off-by: Antonio Ospite <ospite at studenti.unina.it>

---

 recipes/ezx/ezx-gpiotool_svn.bb |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/recipes/ezx/ezx-gpiotool_svn.bb b/recipes/ezx/ezx-gpiotool_svn.bb
index ef232e6..2d403de 100644
--- a/recipes/ezx/ezx-gpiotool_svn.bb
+++ b/recipes/ezx/ezx-gpiotool_svn.bb
@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.openezx.org"
 AUTHOR = "Harald Welte"
 SRCREV = "1877"
 PV = "${SRCPV}"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "svn://svn.openezx.org/trunk/src/userspace;module=gpiotool;proto=http"
 S = "${WORKDIR}/gpiotool"
@@ -15,11 +15,7 @@ do_compile() {
 	do
 		${CC} ${CFLAGS} -c $i
 	done
-	${CC} ${CFLAGS} -o ezx-gpiotool mmio.o gpiotool.o gpio.o
-}
-
-do_stage() {
-	:
+	${CC} ${CFLAGS} ${LDFLAGS} -o ezx-gpiotool mmio.o gpiotool.o gpio.o
 }
 
 do_install() {





More information about the Openembedded-commits mailing list