From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <viktorin@rehivetech.com>
Received: from wes1-so2.wedos.net (wes1-so2.wedos.net [46.28.106.16])
 by dpdk.org (Postfix) with ESMTP id 447E9BDC2
 for <dev@dpdk.org>; Tue, 16 Feb 2016 19:33:45 +0100 (CET)
Received: from pcviktorin.fit.vutbr.cz (pcviktorin.fit.vutbr.cz
 [147.229.13.147])
 by wes1-so2.wedos.net (Postfix) with ESMTPSA id 3q4WCX6C8jztK;
 Tue, 16 Feb 2016 19:33:44 +0100 (CET)
From: Jan Viktorin <viktorin@rehivetech.com>
To: dev@dpdk.org
Date: Tue, 16 Feb 2016 19:35:06 +0100
Message-Id: <1455647706-6041-1-git-send-email-viktorin@rehivetech.com>
X-Mailer: git-send-email 2.7.0
Cc: Jan Viktorin <viktorin@rehivetech.com>
Subject: [dpdk-dev] [PATCH] arm: fix name armv7-a used for dpdk purposes
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Feb 2016 18:33:45 -0000

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%)

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
-- 
2.7.0