From ad9f280e6c74980ae276c0d002691afd9ae283a1 Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Thu, 30 Mar 2017 11:54:59 -0400 Subject: [PATCH] Allow various recipes to build -native --- recipes-core/aho-corasick/aho-corasick-rs_0.2.1.bb | 2 ++ recipes-core/libc/libc-rs_0.2.5.bb | 2 ++ recipes-core/memchr/memchr-rs_0.1.11.bb | 2 ++ recipes-core/regex/regex-rs.bb | 2 ++ recipes-core/regex/regex-syntax-rs.bb | 2 ++ 5 files changed, 10 insertions(+) diff --git a/recipes-core/aho-corasick/aho-corasick-rs_0.2.1.bb b/recipes-core/aho-corasick/aho-corasick-rs_0.2.1.bb index a20f57e..7ae8fea 100644 --- a/recipes-core/aho-corasick/aho-corasick-rs_0.2.1.bb +++ b/recipes-core/aho-corasick/aho-corasick-rs_0.2.1.bb @@ -18,3 +18,5 @@ do_compile () { do_install () { oe_install_rust_lib } + +BBCLASSEXTEND += "native" diff --git a/recipes-core/libc/libc-rs_0.2.5.bb b/recipes-core/libc/libc-rs_0.2.5.bb index 093e70a..2721922 100644 --- a/recipes-core/libc/libc-rs_0.2.5.bb +++ b/recipes-core/libc/libc-rs_0.2.5.bb @@ -22,3 +22,5 @@ do_compile () { do_install () { oe_install_rust_lib } + +BBCLASSEXTEND += "native" diff --git a/recipes-core/memchr/memchr-rs_0.1.11.bb b/recipes-core/memchr/memchr-rs_0.1.11.bb index b624ff2..5597c96 100644 --- a/recipes-core/memchr/memchr-rs_0.1.11.bb +++ b/recipes-core/memchr/memchr-rs_0.1.11.bb @@ -18,3 +18,5 @@ do_compile () { do_install () { oe_install_rust_lib } + +BBCLASSEXTEND += "native" diff --git a/recipes-core/regex/regex-rs.bb b/recipes-core/regex/regex-rs.bb index 5678dff..d60fb61 100644 --- a/recipes-core/regex/regex-rs.bb +++ b/recipes-core/regex/regex-rs.bb @@ -8,3 +8,5 @@ DEPENDS = "\ require regex.inc S = "${WORKDIR}/git" + +BBCLASSEXTEND += "native" diff --git a/recipes-core/regex/regex-syntax-rs.bb b/recipes-core/regex/regex-syntax-rs.bb index 9d440ba..113ae81 100644 --- a/recipes-core/regex/regex-syntax-rs.bb +++ b/recipes-core/regex/regex-syntax-rs.bb @@ -3,3 +3,5 @@ DESCRIPTION = "A regular expression parser" require regex.inc LIB_SRC = "${S}/regex-syntax/src/lib.rs" + +BBCLASSEXTEND += "native"