[dpdk-dev] mk: do not enforce any specific ARM ABI

Message ID 1460759586-18291-1-git-send-email-viktorin@rehivetech.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers

Commit Message

Jan Viktorin April 15, 2016, 10:33 p.m. UTC
  The dpdk build system passes -mfloat-abi=softfp, which makes the build fail
when the selected ABI is EABIhf. The dpdk build system should not make
assumptions on the selected ARM ABI.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 mk/machine/armv7a/rte.vars.mk | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Thomas Monjalon May 2, 2016, 3:47 p.m. UTC | #1
2016-04-16 00:33, Jan Viktorin:
> The dpdk build system passes -mfloat-abi=softfp, which makes the build fail
> when the selected ABI is EABIhf. The dpdk build system should not make
> assumptions on the selected ARM ABI.
> 
> Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
> Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Applied, thanks
  

Patch

diff --git a/mk/machine/armv7a/rte.vars.mk b/mk/machine/armv7a/rte.vars.mk
index abdb15e..36fa3de 100644
--- a/mk/machine/armv7a/rte.vars.mk
+++ b/mk/machine/armv7a/rte.vars.mk
@@ -54,8 +54,6 @@ 
 # CPU_LDFLAGS =
 # CPU_ASFLAGS =
 
-CPU_CFLAGS += -mfloat-abi=softfp
-
 MACHINE_CFLAGS += -march=armv7-a
 
 ifdef CONFIG_RTE_ARCH_ARM_TUNE