From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id C8469C396 for ; Fri, 5 Feb 2016 23:02:01 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id g62so65608264wme.0 for ; Fri, 05 Feb 2016 14:02:01 -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; bh=kZikwrS1FL6hxjt7qysvneAzluD8n25Ro+tq8UWnzAs=; b=WaN0z3GU85kl90CSVHEZaja7wEORG4awrKgsabYVv6vg6BZfAyRKDGEzktppCzVRxN 0vR0dij4R1T/bZ+yfBwNX+r2YOe3op6Qs2Y5gbuvPdzBn6IAjY7xjTCMr47WZeRRGZuv fV1NxJHPUv+x5l28O4hDAXVVVliMw+mA1vlWX4N8wAxQIDqxHdjw29cp3vriV45JznLh nZ6Sqqf4ots+g4+A+IQMZC+uZAbBIvEI+ldZvTBU8ycioM+gPkGGdgcxZA3JyC7ILd6n 5oajqZStGVNEsYo7fSLj0BjXBwFYJN2PqEeHG2eHZXDsIhJ74OuIfxtMxhNW1SlQ3g+j M8+g== 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; bh=kZikwrS1FL6hxjt7qysvneAzluD8n25Ro+tq8UWnzAs=; b=L6ARDgLEpmmpZEglReOHxI0n90NBjYrz8M9Id+0Ekv9KW1jQqxh9m7MmtcY9nfAubW 2R4BfJGoFFSxqaxrzYqaqxdAVQF3WtOte05niV1mXmVS96pS4lKxK1kc4PelLteQgdHu ynxbcsdgr6Bs7eA8bxwk5WZmnuVy+imHHD+/rAmRYiYMUPEUc7YoxrVpt32e+awSt/if 5AbJo93KtfzrQ80nIN8KW3eQgRsQlO2T9nsn96bW2afuGP7uLERkCaLhTiSccBY+WezF nB+qF2hWvb9MfQKdArWnAnkS8ZdwrP5YmuiHEd4FdRUudu+xndZ8YynN0u5ariqlb0JF CgVQ== X-Gm-Message-State: AG10YOTKEU5Oa+KZ5I65ADKKpJplmfmlKxzqP0LTd4ZVzDg2DoqxitdkaQmBw0GSoA1fApGz X-Received: by 10.194.133.233 with SMTP id pf9mr16458511wjb.75.1454709721689; Fri, 05 Feb 2016 14:02:01 -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.02.00 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Feb 2016 14:02:01 -0800 (PST) From: Thomas Monjalon To: konstantin.ananyev@intel.com, bruce.richardson@intel.com Date: Fri, 5 Feb 2016 23:00:38 +0100 Message-Id: <1454709638-26357-3-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> Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH 2/2] config: add a common x86 flag 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:02 -0000 Intel Architecture (IA), also called x86, is declined in - i686 - x86_x32 - x86_64 The code common to all of these architectures can now be guarded by a single flag RTE_ARCH_X86. Signed-off-by: Thomas Monjalon --- config/common_bsdapp | 1 + config/common_linuxapp | 1 + config/defconfig_i686-native-linuxapp-gcc | 1 + config/defconfig_i686-native-linuxapp-icc | 1 + config/defconfig_x86_64-native-bsdapp-clang | 1 + config/defconfig_x86_64-native-bsdapp-gcc | 1 + config/defconfig_x86_64-native-linuxapp-clang | 1 + config/defconfig_x86_64-native-linuxapp-gcc | 1 + config/defconfig_x86_64-native-linuxapp-icc | 1 + config/defconfig_x86_x32-native-linuxapp-gcc | 1 + 10 files changed, 10 insertions(+) diff --git a/config/common_bsdapp b/config/common_bsdapp index 50b9829..be09b48 100644 --- a/config/common_bsdapp +++ b/config/common_bsdapp @@ -49,6 +49,7 @@ CONFIG_RTE_EXEC_ENV_BSDAPP=y ## #CONFIG_RTE_ARCH="x86_64" #CONFIG_RTE_ARCH_X86_64=y +#CONFIG_RTE_ARCH_X86=y # ## ## The compiler we use. diff --git a/config/common_linuxapp b/config/common_linuxapp index 4866b96..bf1bb6e 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -49,6 +49,7 @@ CONFIG_RTE_EXEC_ENV_LINUXAPP=y ## #CONFIG_RTE_ARCH="x86_64" #CONFIG_RTE_ARCH_X86_64=y +#CONFIG_RTE_ARCH_X86=y # ## ## The compiler we use. diff --git a/config/defconfig_i686-native-linuxapp-gcc b/config/defconfig_i686-native-linuxapp-gcc index a90de9b..290183a 100644 --- a/config/defconfig_i686-native-linuxapp-gcc +++ b/config/defconfig_i686-native-linuxapp-gcc @@ -36,6 +36,7 @@ CONFIG_RTE_MACHINE="native" CONFIG_RTE_ARCH="i686" CONFIG_RTE_ARCH_I686=y +CONFIG_RTE_ARCH_X86=y CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y diff --git a/config/defconfig_i686-native-linuxapp-icc b/config/defconfig_i686-native-linuxapp-icc index c021321..96725f3 100644 --- a/config/defconfig_i686-native-linuxapp-icc +++ b/config/defconfig_i686-native-linuxapp-icc @@ -36,6 +36,7 @@ CONFIG_RTE_MACHINE="native" CONFIG_RTE_ARCH="i686" CONFIG_RTE_ARCH_I686=y +CONFIG_RTE_ARCH_X86=y CONFIG_RTE_TOOLCHAIN="icc" CONFIG_RTE_TOOLCHAIN_ICC=y diff --git a/config/defconfig_x86_64-native-bsdapp-clang b/config/defconfig_x86_64-native-bsdapp-clang index 3305cbd..d2baf2c 100644 --- a/config/defconfig_x86_64-native-bsdapp-clang +++ b/config/defconfig_x86_64-native-bsdapp-clang @@ -36,6 +36,7 @@ CONFIG_RTE_MACHINE="native" CONFIG_RTE_ARCH="x86_64" CONFIG_RTE_ARCH_X86_64=y +CONFIG_RTE_ARCH_X86=y CONFIG_RTE_TOOLCHAIN="clang" CONFIG_RTE_TOOLCHAIN_CLANG=y diff --git a/config/defconfig_x86_64-native-bsdapp-gcc b/config/defconfig_x86_64-native-bsdapp-gcc index aad7add..5a6a4e8 100644 --- a/config/defconfig_x86_64-native-bsdapp-gcc +++ b/config/defconfig_x86_64-native-bsdapp-gcc @@ -36,6 +36,7 @@ CONFIG_RTE_MACHINE="native" CONFIG_RTE_ARCH="x86_64" CONFIG_RTE_ARCH_X86_64=y +CONFIG_RTE_ARCH_X86=y CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y diff --git a/config/defconfig_x86_64-native-linuxapp-clang b/config/defconfig_x86_64-native-linuxapp-clang index 5f3074e..7b1102f 100644 --- a/config/defconfig_x86_64-native-linuxapp-clang +++ b/config/defconfig_x86_64-native-linuxapp-clang @@ -36,6 +36,7 @@ CONFIG_RTE_MACHINE="native" CONFIG_RTE_ARCH="x86_64" CONFIG_RTE_ARCH_X86_64=y +CONFIG_RTE_ARCH_X86=y CONFIG_RTE_ARCH_64=y CONFIG_RTE_TOOLCHAIN="clang" diff --git a/config/defconfig_x86_64-native-linuxapp-gcc b/config/defconfig_x86_64-native-linuxapp-gcc index 60baf5b..e69a37e 100644 --- a/config/defconfig_x86_64-native-linuxapp-gcc +++ b/config/defconfig_x86_64-native-linuxapp-gcc @@ -36,6 +36,7 @@ CONFIG_RTE_MACHINE="native" CONFIG_RTE_ARCH="x86_64" CONFIG_RTE_ARCH_X86_64=y +CONFIG_RTE_ARCH_X86=y CONFIG_RTE_ARCH_64=y CONFIG_RTE_TOOLCHAIN="gcc" diff --git a/config/defconfig_x86_64-native-linuxapp-icc b/config/defconfig_x86_64-native-linuxapp-icc index 71d1e28..bfa8a3d 100644 --- a/config/defconfig_x86_64-native-linuxapp-icc +++ b/config/defconfig_x86_64-native-linuxapp-icc @@ -36,6 +36,7 @@ CONFIG_RTE_MACHINE="native" CONFIG_RTE_ARCH="x86_64" CONFIG_RTE_ARCH_X86_64=y +CONFIG_RTE_ARCH_X86=y CONFIG_RTE_ARCH_64=y CONFIG_RTE_TOOLCHAIN="icc" diff --git a/config/defconfig_x86_x32-native-linuxapp-gcc b/config/defconfig_x86_x32-native-linuxapp-gcc index fb0afc4..0c26857 100644 --- a/config/defconfig_x86_x32-native-linuxapp-gcc +++ b/config/defconfig_x86_x32-native-linuxapp-gcc @@ -36,6 +36,7 @@ CONFIG_RTE_MACHINE="native" CONFIG_RTE_ARCH="x86_x32" CONFIG_RTE_ARCH_X86_X32=y +CONFIG_RTE_ARCH_X86=y CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y -- 2.7.0