Patchwork flex,bison: Add nativesdk variants

login
register
mail settings
Submitter Khem Raj
Date Sept. 28, 2012, 3:40 a.m.
Message ID <1348803644-20961-2-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/37413/
State Accepted
Commit 536c9e42d316efb42651fdc2eba1b8548d74329d
Headers show

Comments

Khem Raj - Sept. 28, 2012, 3:40 a.m.
It is needed in some SDKs that we ship own
version of lex/yacc for sdk host

Signed-off-by: Khem Raj <raj.khem@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(-)
Otavio Salvador - Sept. 28, 2012, 12:24 p.m.
On Fri, Sep 28, 2012 at 12:40 AM, Khem Raj <raj.khem@gmail.com> wrote:
> It is needed in some SDKs that we ship own
> version of lex/yacc for sdk host
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

I'd prefer two patches for it, otherwise the patch is indeed a good addition.

Patch

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"