From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: restrict CPU flags list Date: Tue, 22 Mar 2016 20:23:52 +0100 Message-ID: <1910165.JcRoAxuiGP@xps13> References: <1458592053-12744-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit To: dev@dpdk.org Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id CCD322BCF for ; Tue, 22 Mar 2016 20:25:32 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id r129so107852692wmr.1 for ; Tue, 22 Mar 2016 12:25:32 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id 192sm18781489wmw.0.2016.03.22.12.25.31 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2016 12:25:32 -0700 (PDT) In-Reply-To: <1458592053-12744-1-git-send-email-thomas.monjalon@6wind.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-03-21 21:27, Thomas Monjalon: > When compiling each file, the CPU flags are given as RTE_MACHINE_CPUFLAG_* > and in the list RTE_COMPILE_TIME_CPUFLAGS. > > RTE_MACHINE_CPUFLAG_* are used to check the CPU features when compiling. > > The list RTE_COMPILE_TIME_CPUFLAGS is used only to check the CPU at > runtime in the function rte_cpu_check_supported(). So it is not needed to > define this list for every files. > That's why RTE_COMPILE_TIME_CPUFLAGS is removed from the common variable > MACHINE_CFLAGS and is added only to the CFLAGS of eal_common_cpuflags.c. > > Signed-off-by: Thomas Monjalon Applied