From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e28smtp05.in.ibm.com (e28smtp05.in.ibm.com [122.248.162.5]) by dpdk.org (Postfix) with ESMTP id 8707E7FCF for ; Tue, 25 Nov 2014 04:39:48 +0100 (CET) Received: from /spool/local by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 25 Nov 2014 09:20:38 +0530 Received: from d28dlp03.in.ibm.com (9.184.220.128) by e28smtp05.in.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 25 Nov 2014 09:20:36 +0530 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id 860EA125805E for ; Tue, 25 Nov 2014 09:20:47 +0530 (IST) Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay01.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sAP3oTqC48431222 for ; Tue, 25 Nov 2014 09:20:30 +0530 Received: from d28av04.in.ibm.com (localhost [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sAP3oX9r029078 for ; Tue, 25 Nov 2014 09:20:33 +0530 Received: from [127.0.0.1] ([9.186.59.229]) by d28av04.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id sAP3oUM9028659; Tue, 25 Nov 2014 09:20:32 +0530 Message-ID: <5473FCB1.9080507@linux.vnet.ibm.com> Date: Tue, 25 Nov 2014 11:51:13 +0800 From: Chao Zhu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Neil Horman References: <1416792142-23132-1-git-send-email-chaozhu@linux.vnet.ibm.com> <1416792142-23132-2-git-send-email-chaozhu@linux.vnet.ibm.com> <20141123220246.GA27315@hmsreliant.think-freely.org> In-Reply-To: <20141123220246.GA27315@hmsreliant.think-freely.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14112503-0017-0000-0000-0000025B1A4D Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3 01/14] Add compiling definations for IBM Power architecture 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: Tue, 25 Nov 2014 03:39:49 -0000 Neil, Current Power related patches are not a full functional one. Some of the libraries are not migrated. So common_linuxapp_powerpc is used to turn off the uncompiled part. This file is a copy of the common_linuxapp. And this file is intended to be removed when all of the libraries are migrated to Power. Actually, it's the current common file for linux and other OS, such as BSD. However, I didn't try the compilation on BSD. But this probably needs to be done. On 2014/11/24 6:02, Neil Horman wrote: > On Sun, Nov 23, 2014 at 08:22:09PM -0500, Chao Zhu wrote: >> To make DPDK run on IBM Power architecture, configuration files for >> Power architecuture are added. Also, the compiling related .mk files are >> added. >> >> Signed-off-by: Chao Zhu >> --- >> config/common_linuxapp_powerpc | 394 +++++++++++++++++++++++++++ >> config/defconfig_ppc_64-power8-linuxapp-gcc | 40 +++ >> mk/arch/ppc_64/rte.vars.mk | 39 +++ >> mk/machine/power8/rte.vars.mk | 57 ++++ >> 4 files changed, 530 insertions(+), 0 deletions(-) >> create mode 100644 config/common_linuxapp_powerpc >> create mode 100644 config/defconfig_ppc_64-power8-linuxapp-gcc >> create mode 100644 mk/arch/ppc_64/rte.vars.mk >> create mode 100644 mk/machine/power8/rte.vars.mk >> >> diff --git a/config/common_linuxapp_powerpc b/config/common_linuxapp_powerpc >> new file mode 100644 >> index 0000000..d230a0b >> --- /dev/null >> +++ b/config/common_linuxapp_powerpc > This filename is common_linuxapp_powerpc, but given that it explicitly specifies > all the build options, there isn't really anything common about it. I think > what you want to do is rename this defconfig_powerpc-native-linuxapp-gcc, and > have it include common_linuxapp, then change any power-specific option you see > fit. > > Also, does BSD build on power? I presume so. You likely want to create a > corresponding bsd power config >