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 <lsun@ezchip.com>
Acked-by: Zhigang Lu <zlu@ezchip.com>
This commit is contained in:
Liming Sun 2016-01-08 09:30:36 -05:00 committed by Thomas Monjalon
parent 39fee04fc0
commit 23f58cd012
3 changed files with 3 additions and 1 deletions

View File

@ -144,6 +144,7 @@ F: lib/librte_hash/rte*_arm64.h
EZchip TILE-Gx
M: Zhigang Lu <zlu@ezchip.com>
M: Liming Sun <lsun@ezchip.com>
F: lib/librte_eal/common/arch/tile/
F: lib/librte_eal/common/include/arch/tile/
F: drivers/net/mpipe/

View File

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

View File

@ -30,7 +30,7 @@
ARCH ?= tile
CROSS ?= tile-
CROSS ?=
CPU_CFLAGS ?=
CPU_LDFLAGS ?=