Skip to contentSkip to conversation

sdcc-native: Added bison-native and flex-native in DEPENDS to remove configuration erros

PATCH In review Noor Ahsan 2 participants 2 messages Aug 16, 2010

lore
Share & tools
lore

Noor Ahsan

author
#0 lore raw

PATCH 1/1 sdcc-native: Added bison-native and flex-native in DEPENDS to remove configuration erros

* 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.

---
 recipes/sdcc/sdcc-native_2.8.0.bb |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)
recipes/sdcc/sdcc-native_2.8.0.bb +5 -7
index dbecffa..ace693f 100644
@@ -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} \;
-#}
-
Signature · 1 line
1.6.3.3
#1 lore raw

Am Montag, den 16.08.2010, 18:16 +0600 schrieb Noor Ahsan:

Nitpicks (I think): 1. add *to*, 2. erro*r*s

Quoted 3 lines

* 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.

Could you split up this patch please, if it is not too much work.

1/3 sdcc-native: run oe_stylize.py
2/3 sdcc-native: add bison-native and flex-native to DEPENDS (give the error in the commit message)

This would be great if you could do that:
3/3 sdcc-native: convert to new style staging, remove do_stage()

Quoted 1 line

[…]

Thanks,

Paul