[OE-core] [PATCH] nativesdk-bison: Add to nativesdk-packagegroup-sdk-host and set BISON_PKGDATADIR
He Zhe
zhe.he at windriver.com
Thu Sep 27 09:37:24 UTC 2018
Please ignore. Something wrong with it.
Zhe
On 2018年09月27日 16:38, zhe.he at windriver.com wrote:
> From: He Zhe <zhe.he at windriver.com>
>
> bison is needed when building kernel. Add it to nativesdk-packagegroup-sdk-host
> and set BISON_PKGDATADIR for bison to use its components.
>
> Signed-off-by: He Zhe <zhe.he at windriver.com>
> ---
> meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 +
> meta/recipes-devtools/bison/bison_3.0.4.bb | 4 ++++
> 2 files changed, 5 insertions(+)
>
> diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
> index e2f6169..448c2f6 100644
> --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
> +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
> @@ -25,6 +25,7 @@ RDEPENDS_${PN} = "\
> nativesdk-cmake \
> ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \
> nativesdk-sdk-provides-dummy \
> + nativesdk-bison \
> "
>
> RDEPENDS_${PN}_darwin = "\
> diff --git a/meta/recipes-devtools/bison/bison_3.0.4.bb b/meta/recipes-devtools/bison/bison_3.0.4.bb
> index cc155f0..07677a7 100644
> --- a/meta/recipes-devtools/bison/bison_3.0.4.bb
> +++ b/meta/recipes-devtools/bison/bison_3.0.4.bb
> @@ -36,4 +36,8 @@ do_install_append_class-native() {
> create_wrapper ${D}/${bindir}/bison \
> BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
> }
> +do_install_append_class-nativesdk() {
> + create_wrapper ${D}/${bindir}/bison \
> + BISON_PKGDATADIR=${OECORE_NATIVE_SYSROOT}${prefix_nativesdk}/share/bison
> +}
> BBCLASSEXTEND = "native nativesdk"
More information about the Openembedded-core
mailing list