Skip to contentSkip to conversation

flex: Only use create_wrapper for native and nativesdk

PATCH New Olof Johansson 1 participant 1 message Sep 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-devtools/flex/flex.inc |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-devtools/flex/flex.inc +5 -1
index 517db16..43f1dda 100644
@@ -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}
 }
Signature · 1 line
1.7.10.4