[Buildroot] [PATCH 3/5] imx-parser: add install hooks to fix libraries path
Peter Korsgaard
peter at korsgaard.com
Wed Aug 3 20:06:18 UTC 2016
>>>>> "Gary" == Gary Bisson <gary.bisson at boundarydevices.com> writes:
> By default, all the libraries are installed under /usr/lib/imx-mm
> which causes problems at runtime.
> Signed-off-by: Gary Bisson <gary.bisson at boundarydevices.com>
> ---
> package/freescale-imx/imx-parser/imx-parser.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
> diff --git a/package/freescale-imx/imx-parser/imx-parser.mk b/package/freescale-imx/imx-parser/imx-parser.mk
> index a207d6e..75fe6cc 100644
> --- a/package/freescale-imx/imx-parser/imx-parser.mk
> +++ b/package/freescale-imx/imx-parser/imx-parser.mk
> @@ -20,4 +20,11 @@ endef
> # The Makefile installs several versions of the libraries, but we only
> # need one of them, depending on the platform.
> +define IMX_PARSER_FIXUP_TARGET_PATH
> + find $(TARGET_DIR)/usr/lib/imx-mm -mindepth 2 -maxdepth 2 -not -type d \
> + -exec mv {} $(TARGET_DIR)/usr/lib \;
> + rm -fr $(TARGET_DIR)/usr/lib/imx-mm
Same comment as for imx-codec. Committed with that fixes, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list