> -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Jerry Hao OS > Sent: Thursday, September 12, 2019 10:22 AM > To: tho...@monjalon.net > Cc: dev@dpdk.org; Jerry Hao OS <jerry...@os.amperecomputing.com> > Subject: [dpdk-dev] [PATCH 1/1] build: add emag(arm64) platform and > default config > > This patch is to add the emag default CACHE_LINE_SIZE > settings and ARCH variable definitions > > Signed-off-by: Jerry Hao OS <jerry...@os.amperecomputing.com> > --- > config/defconfig_arm64-emag-linux-gcc | 1 + > config/defconfig_arm64-emag-linuxapp-gcc | 8 ++++++ > mk/machine/emag/rte.vars.mk | 31 ++++++++++++++++++++++++ > 3 files changed, 40 insertions(+) > create mode 120000 config/defconfig_arm64-emag-linux-gcc > create mode 100644 config/defconfig_arm64-emag-linuxapp-gcc > create mode 100644 mk/machine/emag/rte.vars.mk
Add meson build support as well. See config/arm/* > + > +# ARCH = > +# CROSS = > +# MACHINE_CFLAGS = > +# MACHINE_LDFLAGS = > +# MACHINE_ASFLAGS = > +# CPU_CFLAGS = > +# CPU_LDFLAGS = > +# CPU_ASFLAGS = > + > +MACHINE_CFLAGS += -march=armv8-a+crc+crypto Is emag platform is only armv8? If it is supports lse then add that as well. See mk/machine/octeontx2/rte.vars.mk as example If it has dedicated mcpu support then add the following MACHINE_CFLAGS += $(call rte_cc_has_argument, -mcpu=your_cpu) > -- > 2.17.1