From 2ca72d35e839a0fa24d33bf75343f187792f4e2c Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Wed, 4 Sep 2013 08:30:29 +0200 Subject: 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. Signed-off-by: Olof Johansson Signed-off-by: Richard Purdie --- meta/recipes-devtools/flex/flex.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools') 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 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} } -- cgit 1.2.3-korg