1 ################################################################################
5 ################################################################################
7 IMX_PARSER_VERSION
= 4.1.4
8 IMX_PARSER_SITE
= $(FREESCALE_IMX_SITE
)
9 IMX_PARSER_SOURCE
= imx-parser-
$(IMX_PARSER_VERSION
).bin
10 IMX_PARSER_INSTALL_STAGING
= YES
12 IMX_PARSER_LICENSE
= NXP Semiconductor Software License Agreement
13 IMX_PARSER_LICENSE_FILES
= EULA COPYING
14 IMX_PARSER_REDISTRIBUTE
= NO
16 ifeq ($(BR2_ARM_EABIHF
),y
)
17 IMX_PARSER_CONF_OPTS
+= --enable-fhw
19 IMX_PARSER_CONF_OPTS
+= --enable-fsw
22 define IMX_PARSER_EXTRACT_CMDS
23 $(call FREESCALE_IMX_EXTRACT_HELPER
,$(DL_DIR
)/$(IMX_PARSER_SOURCE
))
26 # The Makefile installs several versions of the libraries, but we only
27 # need one of them, depending on the platform.
29 # Upstream installs libraries into usr/lib/imx-mm, but the dynamic
30 # loader only looks in usr/lib, so move the libraries there
31 define IMX_PARSER_FIXUP_TARGET_PATH
32 find
$(TARGET_DIR
)/usr
/lib
/imx-mm
-not
-type d \
33 -exec mv
{} $(TARGET_DIR
)/usr
/lib \
;
34 rm -rf
$(TARGET_DIR
)/usr
/lib
/imx-mm
36 IMX_PARSER_POST_INSTALL_TARGET_HOOKS
+= IMX_PARSER_FIXUP_TARGET_PATH
38 $(eval
$(autotools-package
))