From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id B8407C37C for ; Fri, 5 Feb 2016 23:02:00 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id p63so44747452wmp.1 for ; Fri, 05 Feb 2016 14:02:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=y8/r035EaegaUMGEWAwnzxwnxfc/RsL9sbDn5A2OAQY=; b=PTi+Ov5z8aOpwgmUsHkyFcoH2jiSjSJzUVRuOTw1o3fErbAhlwAphGmvwwJvqa5s7W gNxuRJy/N0jvpitD5GW+1bhh0uYVZWTa/LWjDX+O6+bVWSRO/2aii2oaAGAzQNqvWPAv 6JQfnv+vJH5dz3nczslv4kMyCs6kMgdfr0piFZD5/G832H/f2iiqs5eIb1BS8P5tO/TY 8yiU5B91/8vMLtLqT1M1dsU24GlS37uPB9S1affxFZKe+aE6SX9ibVksMiK0Rhf3ioY2 N7+IjpmaaE23DUhRusgxTEG8ze14+jZuEUTjT9oAHi1TuEUYcLx73SnGwDZa6DEwDAJt Pm7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=y8/r035EaegaUMGEWAwnzxwnxfc/RsL9sbDn5A2OAQY=; b=Vv/ayWcgdhPCa079j1Fxd/2bJCr3xU0X8XobwRBvDnUQYbJ+Cnouv7rI7VI03U7mIr KHc47ZsEfRImXETX64sBdVmWb/86HZqEg8+61WnwhhkTfXEv8IkgHs7E+aDS8mAbGq1O ZaT13xWJQvgMFTEdXprkBKqEVxpL2E4P/OOPlsRLGTPJ1O8XCBYAEEKJOLpQLhsBUluN ckj2vAGFi0qOGBi8StTmiPftuMDgjhByIE6C0XT5GqO4DVg/NBkr95hEwbgnPB8ddkmT g3gHvnpkgvnALogKJTgRcwUcto9WShJNnYRTEK1wpfDAnxi2bn5bgu7sPl2jwpVB/N6y OVHA== X-Gm-Message-State: AG10YOTVo7bsdhCACvCqsugnqE+y6UkzMU6TB4IqKp/19DdRuZDO4xYgMwgsOYdoccX6SVRH X-Received: by 10.194.20.5 with SMTP id j5mr15967862wje.71.1454709720587; Fri, 05 Feb 2016 14:02:00 -0800 (PST) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id ll9sm17640074wjc.29.2016.02.05.14.01.59 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Feb 2016 14:02:00 -0800 (PST) From: Thomas Monjalon To: konstantin.ananyev@intel.com, bruce.richardson@intel.com Date: Fri, 5 Feb 2016 23:00:37 +0100 Message-Id: <1454709638-26357-2-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454709638-26357-1-git-send-email-thomas.monjalon@6wind.com> References: <1454709638-26357-1-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH 1/2] config: remove obsolete machine descriptions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 22:02:00 -0000 More and more machines and architectures are added without keeping the lists up-to-date. Replace the lists with a pointer to the reference directory. The same kind of pointer is used for the supported compilers and environments. Signed-off-by: Thomas Monjalon --- config/common_bsdapp | 19 ++++--------------- config/common_linuxapp | 19 ++++--------------- mk/target/generic/rte.vars.mk | 8 -------- 3 files changed, 8 insertions(+), 38 deletions(-) diff --git a/config/common_bsdapp b/config/common_bsdapp index ed7c31c..50b9829 100644 --- a/config/common_bsdapp +++ b/config/common_bsdapp @@ -32,38 +32,27 @@ # # define executive environment -# -# CONFIG_RTE_EXEC_ENV can be linuxapp, bsdapp +# RTE_EXEC_ENV values are the directories in mk/exec-env/ # CONFIG_RTE_EXEC_ENV="bsdapp" CONFIG_RTE_EXEC_ENV_BSDAPP=y ## ## machine can define specific variables or action for a specific board -## RTE_MACHINE can be: -## default nothing specific -## native current machine -## atm Intel® Atom™ microarchitecture -## nhm Intel® microarchitecture code name Nehalem -## wsm Intel® microarchitecture code name Westmere -## snb Intel® microarchitecture code name Sandy Bridge -## ivb Intel® microarchitecture code name Ivy Bridge -## -## Note: if your compiler does not support the relevant -march options, -## it will be compiled with whatever latest processor the compiler supports! +## RTE_MACHINE values are the directories in mk/machine/ ## #CONFIG_RTE_MACHINE="native" # ## ## define the architecture we compile for. -## CONFIG_RTE_ARCH can be i686, x86_64, x86_64_32 +## RTE_ARCH values are the directories in mk/arch/ ## #CONFIG_RTE_ARCH="x86_64" #CONFIG_RTE_ARCH_X86_64=y # ## ## The compiler we use. -## Can be gcc, icc or clang. +## RTE_TOOLCHAIN values are the directories in mk/toolchain/ ## #CONFIG_RTE_TOOLCHAIN="gcc" #CONFIG_RTE_TOOLCHAIN_GCC=y diff --git a/config/common_linuxapp b/config/common_linuxapp index 74bc515..4866b96 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -32,38 +32,27 @@ # # define executive environment -# -# CONFIG_RTE_EXEC_ENV can be linuxapp, bsdapp +# RTE_EXEC_ENV values are the directories in mk/exec-env/ # CONFIG_RTE_EXEC_ENV="linuxapp" CONFIG_RTE_EXEC_ENV_LINUXAPP=y ## ## machine can define specific variables or action for a specific board -## RTE_MACHINE can be: -## default nothing specific -## native current machine -## atm Intel® Atom™ microarchitecture -## nhm Intel® microarchitecture code name Nehalem -## wsm Intel® microarchitecture code name Westmere -## snb Intel® microarchitecture code name Sandy Bridge -## ivb Intel® microarchitecture code name Ivy Bridge -## -## Note: if your compiler does not support the relevant -march options, -## it will be compiled with whatever latest processor the compiler supports! +## RTE_MACHINE values are the directories in mk/machine/ ## #CONFIG_RTE_MACHINE="native" # ## ## define the architecture we compile for. -## CONFIG_RTE_ARCH can be i686, x86_64, x86_64_32 +## RTE_ARCH values are the directories in mk/arch/ ## #CONFIG_RTE_ARCH="x86_64" #CONFIG_RTE_ARCH_X86_64=y # ## ## The compiler we use. -## Can be gcc, icc or clang. +## RTE_TOOLCHAIN values are the directories in mk/toolchain/ ## #CONFIG_RTE_TOOLCHAIN="gcc" #CONFIG_RTE_TOOLCHAIN_GCC=y diff --git a/mk/target/generic/rte.vars.mk b/mk/target/generic/rte.vars.mk index 53650c3..75a616a 100644 --- a/mk/target/generic/rte.vars.mk +++ b/mk/target/generic/rte.vars.mk @@ -50,8 +50,6 @@ # - can define CPU_ASFLAGS variable (overriden by cmdline value) that # overrides the one defined in arch. # -# examples for RTE_MACHINE: default, pc, bensley, tylesburg, ... -# include $(RTE_SDK)/mk/machine/$(RTE_MACHINE)/rte.vars.mk # @@ -69,8 +67,6 @@ include $(RTE_SDK)/mk/machine/$(RTE_MACHINE)/rte.vars.mk # define in machine .mk) # - may override any previously defined variable # -# examples for RTE_ARCH: i686, x86_64 -# include $(RTE_SDK)/mk/arch/$(RTE_ARCH)/rte.vars.mk # @@ -82,8 +78,6 @@ include $(RTE_SDK)/mk/arch/$(RTE_ARCH)/rte.vars.mk # - define TOOLCHAIN_ASFLAGS variable (overriden by cmdline value) # - may override any previously defined variable # -# examples for RTE_TOOLCHAIN: gcc, icc -# include $(RTE_SDK)/mk/toolchain/$(RTE_TOOLCHAIN)/rte.vars.mk # @@ -94,8 +88,6 @@ include $(RTE_SDK)/mk/toolchain/$(RTE_TOOLCHAIN)/rte.vars.mk # - define EXECENV_ASFLAGS variable (overriden by cmdline) # - may override any previously defined variable # -# examples for RTE_EXEC_ENV: linuxapp, bsdapp -# include $(RTE_SDK)/mk/exec-env/$(RTE_EXEC_ENV)/rte.vars.mk # Don't set CFLAGS/LDFLAGS flags for kernel module, all flags are -- 2.7.0