]> code.ossystems Code Review - openembedded-core.git/commitdiff
flex: Only use create_wrapper for native and nativesdk
authorOlof Johansson <olof.johansson@axis.com>
Wed, 4 Sep 2013 06:30:29 +0000 (08:30 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Sep 2013 13:03:54 +0000 (14:03 +0100)
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.

Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/flex/flex.inc

index 517db1626a4890e0555228f09abeb743fe12fbc2..43f1dda01c61a6c2b2b1ef58ec41cb6841babc01 100644 (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}
 }