summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Bisson <gary.bisson@boundarydevices.com>2016-07-27 15:53:31 +0200
committerPeter Korsgaard <peter@korsgaard.com>2016-08-03 21:59:09 +0200
commit0c112ddd30464930d99b73b471e5173fa0ee81d2 (patch)
treeed8fb1863d369daafd5dee493b68d834ef8bd6c3
parent3a1f5d1ebaf39c757f64ec083034f50c16288901 (diff)
downloadbuildroot-0c112ddd30464930d99b73b471e5173fa0ee81d2.tar.gz
buildroot-0c112ddd30464930d99b73b471e5173fa0ee81d2.zip
imx-codec: add missing configure options
Enable VPU and hard float support when the configuration contains: BR2_ARM_EABIHF=y BR2_PACKAGE_IMX_VPU=y See Yocto equivalent: https://github.com/Freescale/meta-fsl-arm/blob/krogoth/recipes-multimedia/imx-codec/imx-codec.inc Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/freescale-imx/imx-codec/imx-codec.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/freescale-imx/imx-codec/imx-codec.mk b/package/freescale-imx/imx-codec/imx-codec.mk
index 2577cf86be..48408728a4 100644
--- a/package/freescale-imx/imx-codec/imx-codec.mk
+++ b/package/freescale-imx/imx-codec/imx-codec.mk
@@ -13,6 +13,14 @@ IMX_CODEC_LICENSE = NXP Semiconductor Software License Agreement, BSD-3c (flac,
IMX_CODEC_LICENSE_FILES = EULA COPYING
IMX_CODEC_REDISTRIBUTE = NO
+ifeq ($(BR2_ARM_EABIHF),y)
+IMX_CODEC_CONF_OPTS += --enable-fhw
+endif
+
+ifeq ($(BR2_PACKAGE_IMX_VPU),y)
+IMX_CODEC_CONF_OPTS += --enable-vpu
+endif
+
define IMX_CODEC_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(IMX_CODEC_SOURCE))
endef
OpenPOWER on IntegriCloud