From 23f58cd012cb454da0ceb28ddda8b6bb56c91793 Mon Sep 17 00:00:00 2001 From: Liming Sun Date: Fri, 8 Jan 2016 09:30:36 -0500 Subject: [PATCH] mk: support native build on TILE-Gx The CROSS variable has empty default value (for native) and must be set when using a cross-toolchain. Signed-off-by: Liming Sun Acked-by: Zhigang Lu --- MAINTAINERS | 1 + config/defconfig_tile-tilegx-linuxapp-gcc | 1 + mk/arch/tile/rte.vars.mk | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index f10b26a69b..8b21979a1c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -144,6 +144,7 @@ F: lib/librte_hash/rte*_arm64.h EZchip TILE-Gx M: Zhigang Lu +M: Liming Sun F: lib/librte_eal/common/arch/tile/ F: lib/librte_eal/common/include/arch/tile/ F: drivers/net/mpipe/ diff --git a/config/defconfig_tile-tilegx-linuxapp-gcc b/config/defconfig_tile-tilegx-linuxapp-gcc index 9df9d7fb67..5a50793dcd 100644 --- a/config/defconfig_tile-tilegx-linuxapp-gcc +++ b/config/defconfig_tile-tilegx-linuxapp-gcc @@ -70,3 +70,4 @@ CONFIG_RTE_LIBRTE_SCHED=n CONFIG_RTE_LIBRTE_PORT=n CONFIG_RTE_LIBRTE_TABLE=n CONFIG_RTE_LIBRTE_PIPELINE=n +CONFIG_RTE_LIBRTE_CXGBE_PMD=n diff --git a/mk/arch/tile/rte.vars.mk b/mk/arch/tile/rte.vars.mk index b51898681d..5ad37389c9 100644 --- a/mk/arch/tile/rte.vars.mk +++ b/mk/arch/tile/rte.vars.mk @@ -30,7 +30,7 @@ ARCH ?= tile -CROSS ?= tile- +CROSS ?= CPU_CFLAGS ?= CPU_LDFLAGS ?= -- 2.20.1