|
@@ -20,4 +20,13 @@ endef
|
|
# FIXME The Makefile installs both the arm9 and arm11 versions of the
|
|
# FIXME The Makefile installs both the arm9 and arm11 versions of the
|
|
# libraries, but we only need one of them.
|
|
# libraries, but we only need one of them.
|
|
|
|
|
|
|
|
+# Upstream installs libraries into usr/lib/imx-mm, but the dynamic
|
|
|
|
+# loader only looks in usr/lib, so move the libraries there
|
|
|
|
+define IMX_CODEC_FIXUP_TARGET_PATH
|
|
|
|
+ find $(TARGET_DIR)/usr/lib/imx-mm -not -type d \
|
|
|
|
+ -exec mv {} $(TARGET_DIR)/usr/lib \;
|
|
|
|
+ rm -rf $(TARGET_DIR)/usr/lib/imx-mm
|
|
|
|
+endef
|
|
|
|
+IMX_CODEC_POST_INSTALL_TARGET_HOOKS += IMX_CODEC_FIXUP_TARGET_PATH
|
|
|
|
+
|
|
$(eval $(autotools-package))
|
|
$(eval $(autotools-package))
|