From fe86a79fc33a4a9229e62f543ccefa4722aa2546 Mon Sep 17 00:00:00 2001 From: He Zhe Date: Fri, 28 Sep 2018 11:18:24 +0800 Subject: nativesdk-bison: Add to nativesdk-packagegroup-sdk-host and set BISON_PKGDATADIR bison is needed when building kernel. Add it to nativesdk-packagegroup-sdk-host and set BISON_PKGDATADIR for bison to use its components. (From OE-Core rev: 8aa27e4eb2f08281329ca1a1da421c6fc376bc8d) Signed-off-by: He Zhe Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/bison/bison_3.0.4.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-devtools/bison') diff --git a/meta/recipes-devtools/bison/bison_3.0.4.bb b/meta/recipes-devtools/bison/bison_3.0.4.bb index cc155f0fbe..f1b05da416 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=${datadir}/bison +} BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf