diff mbox

[4/5] imx-parser: add missing configure options

Message ID 1469627614-29709-5-git-send-email-gary.bisson@boundarydevices.com
State Accepted
Commit ae753a6403265a466b05fcc5bb125d97c5d573ec
Headers show

Commit Message

Gary Bisson July 27, 2016, 1:53 p.m. UTC
Enable hard float support when the configuration contains:
BR2_ARM_EABIHF=y

See Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/blob/krogoth/recipes-multimedia/imx-parser/imx-parser.inc

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
---

Thanks to those options:
- libraries are copied from release/lib/yocto/hw instead
  of release/lib/yocto/sw.

Regards,
Gary

---
 package/freescale-imx/imx-parser/imx-parser.mk | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Peter Korsgaard Aug. 3, 2016, 8:08 p.m. UTC | #1
>>>>> "Gary" == Gary Bisson <gary.bisson@boundarydevices.com> writes:

 > Enable hard float support when the configuration contains:
 > BR2_ARM_EABIHF=y

 > See Yocto equivalent:
 > https://github.com/Freescale/meta-fsl-arm/blob/krogoth/recipes-multimedia/imx-parser/imx-parser.inc

 > Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
 > ---

 > Thanks to those options:
 > - libraries are copied from release/lib/yocto/hw instead
 >   of release/lib/yocto/sw.

Committed, thanks.
diff mbox

Patch

diff --git a/package/freescale-imx/imx-parser/imx-parser.mk b/package/freescale-imx/imx-parser/imx-parser.mk
index 75fe6cc..75364ae 100644
--- a/package/freescale-imx/imx-parser/imx-parser.mk
+++ b/package/freescale-imx/imx-parser/imx-parser.mk
@@ -13,6 +13,12 @@  IMX_PARSER_LICENSE = NXP Semiconductor Software License Agreement
 IMX_PARSER_LICENSE_FILES = EULA COPYING
 IMX_PARSER_REDISTRIBUTE = NO
 
+ifeq ($(BR2_ARM_EABIHF),y)
+IMX_PARSER_CONF_OPTS += --enable-fhw
+else
+IMX_PARSER_CONF_OPTS += --enable-fsw
+endif
+
 define IMX_PARSER_EXTRACT_CMDS
 	$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(IMX_PARSER_SOURCE))
 endef