mirror of
git://git.yoctoproject.org/poky
synced 2026-04-02 02:49:11 +00:00
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>
This commit is contained in:
parent
205d75ddb3
commit
fe86a79fc3
@ -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 = "\
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user