From d2654a6a929c78c9098bd3ebf9aba2267facc066 Mon Sep 17 00:00:00 2001 From: Xiaoyun Li Date: Fri, 8 Sep 2017 11:28:52 +0800 Subject: [PATCH] mk: add silvermont to replace atom as a target The -march=atom flag is for older atom CPUs and don't support SSE4 which is the minimum requirement for DPDK. And in fact, the current atom CPUs support SSE4. So this patch removes atom as a target for DPDK builds and adds a silvermont replacement instead. Signed-off-by: Xiaoyun Li Acked-by: Bruce Richardson --- mk/machine/{atm => silvermont}/rte.vars.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename mk/machine/{atm => silvermont}/rte.vars.mk (98%) diff --git a/mk/machine/atm/rte.vars.mk b/mk/machine/silvermont/rte.vars.mk similarity index 98% rename from mk/machine/atm/rte.vars.mk rename to mk/machine/silvermont/rte.vars.mk index cfed1108bf..2079d54da1 100644 --- a/mk/machine/atm/rte.vars.mk +++ b/mk/machine/silvermont/rte.vars.mk @@ -55,4 +55,4 @@ # CPU_LDFLAGS = # CPU_ASFLAGS = -MACHINE_CFLAGS = -march=atom +MACHINE_CFLAGS = -march=silvermont -- 2.20.1