[oe] [PATCH] sdcc-native: Added bison-native and flex-native in DEPENDS to remove configuration erros

Noor Ahsan noor_ahsan at mentor.com
Mon Aug 16 12:16:25 UTC 2010


* configure script was unable to find bison and flex utilities. It was giving error "configure: error: Cannot find required program bison." and "configure: error: Cannot find required program flex." Added bison-native and flex-native in DEPENDS to remove this error.
* Bump PR to r1.
* Ran oe_stylize.py script and used it output to create a new recipe and PATCH.

Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
---
 recipes/sdcc/sdcc-native_2.8.0.bb |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/recipes/sdcc/sdcc-native_2.8.0.bb b/recipes/sdcc/sdcc-native_2.8.0.bb
index dbecffa..ace693f 100644
--- a/recipes/sdcc/sdcc-native_2.8.0.bb
+++ b/recipes/sdcc/sdcc-native_2.8.0.bb
@@ -1,16 +1,14 @@
 require sdcc_${PV}.bb
-inherit native
-DEPENDS = ""
+DEPENDS = "bison-native flex-native"
+PR = "r1"
 
 # don't need native-tools patch here
 SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-src-${PV}.tar.bz2 \
           "
 
+inherit native
+
 do_stage() {
-	oe_runmake install
+        oe_runmake install
 }
 
-#do_stage() {
-#	find bin -type f -perm -0755 -exec install -m 0755 {} ${STAGING_BINDIR} \;
-#}
-
-- 
1.6.3.3





More information about the Openembedded-devel mailing list