From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: Introduce NXP dpaa2 architecture based on armv8-a Date: Mon, 09 May 2016 10:39:47 +0200 Message-ID: <21220095.qH3WOBJJYD@xps13> References: <1462801702-30918-1-git-send-email-hemant.agrawal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Hemant Agrawal Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id BABD32BCC for ; Mon, 9 May 2016 10:39:49 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id g17so173304739wme.1 for ; Mon, 09 May 2016 01:39:49 -0700 (PDT) In-Reply-To: <1462801702-30918-1-git-send-email-hemant.agrawal@nxp.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-05-09 19:18, Hemant Agrawal: > This patch introduces dpaa2 machine target to address difference > in cpu parameter, number of core to 8 and no numa support > w.r.t default armv8-a machine > > Signed-off-by: Hemant Agrawal [...] > --- /dev/null > +++ b/mk/machine/dpaa2/rte.vars.mk > +# ARCH = > +# CROSS = > +# MACHINE_CFLAGS = > +# MACHINE_LDFLAGS = > +# MACHINE_ASFLAGS = > +# CPU_CFLAGS = > +# CPU_LDFLAGS = > +# CPU_ASFLAGS = > +MACHINE_CFLAGS += -march=armv8-a > + > +ifdef CONFIG_RTE_ARCH_ARM_TUNE > +MACHINE_CFLAGS += -mcpu=$(CONFIG_RTE_ARCH_ARM_TUNE) > +endif There is nothing specific in this file. > --- a/mk/rte.module.mk > +++ b/mk/rte.module.mk > +#### Linaro toolchain usages arm64 instread of aarch64 in kernel > +ifeq ($(ARCH), aarch64) > +ARCH = arm64 > +endif Could you provide more explanations please? aarch64 shouldn't be used I think.