diff options
author | He Zhe <zhe.he@windriver.com> | 2018-09-28 11:18:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-04 14:21:41 +0100 |
commit | fe86a79fc33a4a9229e62f543ccefa4722aa2546 (patch) | |
tree | 912f956da59ac886f5e17398c18a5420120f7963 /meta | |
parent | 205d75ddb3b686eafa442a971247488c91950066 (diff) | |
download | poky-fe86a79fc33a4a9229e62f543ccefa4722aa2546.tar.gz |
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 <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/bison/bison_3.0.4.bb | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb index e2f6169994..448c2f6de4 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} = "\ | |||
25 | nativesdk-cmake \ | 25 | nativesdk-cmake \ |
26 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \ | 26 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \ |
27 | nativesdk-sdk-provides-dummy \ | 27 | nativesdk-sdk-provides-dummy \ |
28 | nativesdk-bison \ | ||
28 | " | 29 | " |
29 | 30 | ||
30 | RDEPENDS_${PN}_darwin = "\ | 31 | 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 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() { | |||
36 | create_wrapper ${D}/${bindir}/bison \ | 36 | create_wrapper ${D}/${bindir}/bison \ |
37 | BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison | 37 | BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison |
38 | } | 38 | } |
39 | do_install_append_class-nativesdk() { | ||
40 | create_wrapper ${D}/${bindir}/bison \ | ||
41 | BISON_PKGDATADIR=${datadir}/bison | ||
42 | } | ||
39 | BBCLASSEXTEND = "native nativesdk" | 43 | BBCLASSEXTEND = "native nativesdk" |