From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH 1/2] config: remove obsolete machine descriptions Date: Fri, 5 Feb 2016 23:00:37 +0100 Message-ID: <1454709638-26357-2-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: quoted-printable Cc: dev@dpdk.org To: konstantin.ananyev@intel.com, bruce.richardson@intel.com 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) In-Reply-To: <1454709638-26357-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" 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 environm= ents. 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 @@ =20 # # 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=3D"bsdapp" CONFIG_RTE_EXEC_ENV_BSDAPP=3Dy =20 ## ## machine can define specific variables or action for a specific board -## RTE_MACHINE can be: -## default nothing specific -## native current machine -## atm Intel=C2=AE Atom=E2=84=A2 microarchitecture -## nhm Intel=C2=AE microarchitecture code name Nehalem -## wsm Intel=C2=AE microarchitecture code name Westmere -## snb Intel=C2=AE microarchitecture code name Sandy Bridge -## ivb Intel=C2=AE 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 suppo= rts! +## RTE_MACHINE values are the directories in mk/machine/ ## #CONFIG_RTE_MACHINE=3D"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=3D"x86_64" #CONFIG_RTE_ARCH_X86_64=3Dy # ## ## The compiler we use. -## Can be gcc, icc or clang. +## RTE_TOOLCHAIN values are the directories in mk/toolchain/ ## #CONFIG_RTE_TOOLCHAIN=3D"gcc" #CONFIG_RTE_TOOLCHAIN_GCC=3Dy 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 @@ =20 # # 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=3D"linuxapp" CONFIG_RTE_EXEC_ENV_LINUXAPP=3Dy =20 ## ## machine can define specific variables or action for a specific board -## RTE_MACHINE can be: -## default nothing specific -## native current machine -## atm Intel=C2=AE Atom=E2=84=A2 microarchitecture -## nhm Intel=C2=AE microarchitecture code name Nehalem -## wsm Intel=C2=AE microarchitecture code name Westmere -## snb Intel=C2=AE microarchitecture code name Sandy Bridge -## ivb Intel=C2=AE 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 suppo= rts! +## RTE_MACHINE values are the directories in mk/machine/ ## #CONFIG_RTE_MACHINE=3D"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=3D"x86_64" #CONFIG_RTE_ARCH_X86_64=3Dy # ## ## The compiler we use. -## Can be gcc, icc or clang. +## RTE_TOOLCHAIN values are the directories in mk/toolchain/ ## #CONFIG_RTE_TOOLCHAIN=3D"gcc" #CONFIG_RTE_TOOLCHAIN_GCC=3Dy diff --git a/mk/target/generic/rte.vars.mk b/mk/target/generic/rte.vars.m= k 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 =20 # @@ -69,8 +67,6 @@ include $(RTE_SDK)/mk/machine/$(RTE_MACHINE)/rte.vars.m= k # 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 =20 # @@ -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 =20 # @@ -94,8 +88,6 @@ include $(RTE_SDK)/mk/toolchain/$(RTE_TOOLCHAIN)/rte.va= rs.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 =20 # Don't set CFLAGS/LDFLAGS flags for kernel module, all flags are --=20 2.7.0