[dpdk-dev] arm: fix name armv7-a used for dpdk purposes

Message ID 1455647706-6041-1-git-send-email-viktorin@rehivetech.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Jan Viktorin Feb. 16, 2016, 6:35 p.m. UTC
  The CONFIG_RTE_MACHINE must not contain hyphens to work correctly. This was
initially done only for the file name defconfig_arm-armv7a-linuxapp-gcc. This
patch fixes install-sdk goal. Otherwise, it creates a wrong directory for this
platform.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
---
 config/defconfig_arm-armv7a-linuxapp-gcc   | 2 +-
 mk/machine/{armv7-a => armv7a}/rte.vars.mk | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename mk/machine/{armv7-a => armv7a}/rte.vars.mk (100%)
  

Comments

Thomas Monjalon Feb. 28, 2016, 9:44 p.m. UTC | #1
2016-02-16 19:35, Jan Viktorin:
> The CONFIG_RTE_MACHINE must not contain hyphens to work correctly. This was
> initially done only for the file name defconfig_arm-armv7a-linuxapp-gcc. This
> patch fixes install-sdk goal. Otherwise, it creates a wrong directory for this
> platform.
> 
> Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>

Applied, thanks
  

Patch

diff --git a/config/defconfig_arm-armv7a-linuxapp-gcc b/config/defconfig_arm-armv7a-linuxapp-gcc
index cbebd64..1e71a8c 100644
--- a/config/defconfig_arm-armv7a-linuxapp-gcc
+++ b/config/defconfig_arm-armv7a-linuxapp-gcc
@@ -30,7 +30,7 @@ 
 
 #include "common_linuxapp"
 
-CONFIG_RTE_MACHINE="armv7-a"
+CONFIG_RTE_MACHINE="armv7a"
 
 CONFIG_RTE_ARCH="arm"
 CONFIG_RTE_ARCH_ARM=y
diff --git a/mk/machine/armv7-a/rte.vars.mk b/mk/machine/armv7a/rte.vars.mk
similarity index 100%
rename from mk/machine/armv7-a/rte.vars.mk
rename to mk/machine/armv7a/rte.vars.mk