[OE-core] [PATCH] flex,bison: Add nativesdk variants

Khem Raj raj.khem at gmail.com
Fri Sep 28 03:40:43 UTC 2012


It is needed in some SDKs that we ship own
version of lex/yacc for sdk host

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-devtools/bison/bison_2.5.1.bb |    2 +-
 meta/recipes-devtools/flex/flex_2.5.35.bb  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/bison/bison_2.5.1.bb b/meta/recipes-devtools/bison/bison_2.5.1.bb
index d53c1d6..47b4a6c 100644
--- a/meta/recipes-devtools/bison/bison_2.5.1.bb
+++ b/meta/recipes-devtools/bison/bison_2.5.1.bb
@@ -33,4 +33,4 @@ do_install_append_virtclass-native() {
 		BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
 }
 #bison-native encodes the staging M4 path
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/flex/flex_2.5.35.bb b/meta/recipes-devtools/flex/flex_2.5.35.bb
index 7419f10..2218c91 100644
--- a/meta/recipes-devtools/flex/flex_2.5.35.bb
+++ b/meta/recipes-devtools/flex/flex_2.5.35.bb
@@ -2,7 +2,7 @@ require flex.inc
 PR = "r3"
 LICENSE="BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067"
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
 
 SRC_URI += "file://avoid-FORTIFY-warnings.patch \
             file://int-is-not-the-same-size-as-size_t.patch"
-- 
1.7.9.5





More information about the Openembedded-core mailing list