diff options
author | Olof Johansson <olof.johansson@axis.com> | 2013-09-04 08:30:29 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-04 14:15:57 +0100 |
commit | 990deb3b894806b512f061759e11e9aa84b2d98a (patch) | |
tree | 71f2395b1de26c8d2ccf6fb147e9f0731ac740fa /meta | |
parent | f1c74a33835f97c6b42235358d80851882b4687e (diff) | |
download | poky-990deb3b894806b512f061759e11e9aa84b2d98a.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/flex/flex.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/flex/flex.inc b/meta/recipes-devtools/flex/flex.inc index 517db1626a..43f1dda01c 100644 --- a/meta/recipes-devtools/flex/flex.inc +++ b/meta/recipes-devtools/flex/flex.inc | |||
@@ -13,6 +13,10 @@ inherit autotools gettext | |||
13 | M4 = "${bindir}/m4" | 13 | M4 = "${bindir}/m4" |
14 | M4_class-native = "${STAGING_BINDIR_NATIVE}/m4" | 14 | M4_class-native = "${STAGING_BINDIR_NATIVE}/m4" |
15 | 15 | ||
16 | do_install_append() { | 16 | do_install_append_class-native() { |
17 | create_wrapper ${D}/${bindir}/flex M4=${M4} | ||
18 | } | ||
19 | |||
20 | do_install_append_class-nativesdk() { | ||
17 | create_wrapper ${D}/${bindir}/flex M4=${M4} | 21 | create_wrapper ${D}/${bindir}/flex M4=${M4} |
18 | } | 22 | } |