flex: Only use create_wrapper for native and nativesdk

The create_wrapper functions of utils.bbclass cause implicit
dependencies on bash, which may not be suitable for deployment on
target. Besides, the wrapper doesn't seem to be necessary on target.

(From OE-Core rev: 2ca72d35e839a0fa24d33bf75343f187792f4e2c)

Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Olof Johansson 2013-09-04 08:30:29 +02:00 committed by Richard Purdie
parent f1c74a3383
commit 990deb3b89
1 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,10 @@ inherit autotools gettext
M4 = "${bindir}/m4"
M4_class-native = "${STAGING_BINDIR_NATIVE}/m4"
do_install_append() {
do_install_append_class-native() {
create_wrapper ${D}/${bindir}/flex M4=${M4}
}
do_install_append_class-nativesdk() {
create_wrapper ${D}/${bindir}/flex M4=${M4}
}