From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id D02078E9C for ; Thu, 8 Sep 2016 08:38:40 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP; 07 Sep 2016 23:38:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,298,1470726000"; d="scan'208";a="5895337" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga006.fm.intel.com with ESMTP; 07 Sep 2016 23:38:39 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 7 Sep 2016 23:38:39 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.102]) by shsmsx102.ccr.corp.intel.com ([169.254.2.109]) with mapi id 14.03.0248.002; Thu, 8 Sep 2016 14:38:36 +0800 From: "Liu, Yong" To: "Xu, HuilongX" , "dts@dpdk.org" CC: "Xu, HuilongX" Thread-Topic: [dts] [PATCH V1] fix dpdk compile error Thread-Index: AQHSCXIq4O/UjeskwkSG8vpmJomUpqBvJB1w Date: Thu, 8 Sep 2016 06:38:36 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E6022E787@SHSMSX103.ccr.corp.intel.com> References: <1473298600-6652-1-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1473298600-6652-1-git-send-email-huilongx.xu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjJiZGU1ZjktYTIyZC00M2U2LWJkZWItODg4ZGI0YjA2Y2E2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkVQWDVoYzVtb0ZpYnQyeVMxZFwveWRGTlF5QXhCQnYxdndTS1wvYUFJUzZ6TT0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] fix dpdk compile error X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2016 06:38:41 -0000 Thanks huilong, applied into master branch. This is work around for dpdk bu= ild issue. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,huilong > Sent: Thursday, September 08, 2016 9:37 AM > To: dts@dpdk.org > Cc: Xu, HuilongX > Subject: [dts] [PATCH V1] fix dpdk compile error >=20 > dpdk makefile add a new function for build resource file. > so before compile dpdk again, we need remove the resource. >=20 > Signed-off-by: xu,huilong > --- > framework/project_dpdk.py | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py > index 4e44793..803585d 100644 > --- a/framework/project_dpdk.py > +++ b/framework/project_dpdk.py > @@ -170,6 +170,7 @@ class DPDKdut(Dut): > build_time =3D 900 > # clean all > self.send_expect("rm -rf " + target, "#") > + self.send_expect("rm -rf %s" % > r'./app/test/test_resource_c.res.o' , "#") >=20 > # compile > out =3D self.send_expect("make -j install T=3D%s %s" % (target, > extra_options), "# ", build_time) > @@ -188,6 +189,7 @@ class DPDKdut(Dut): > """ > # clean all > self.send_expect("rm -rf " + target, "#") > + self.send_expect("rm -rf %s" % > r'./app/test/test_resource_c.res.o' , "#") >=20 > # compile > out =3D self.send_expect("make -j %d install T=3D%s CC=3Dgcc48" = % > (self.number_of_cores, > @@ -312,6 +314,7 @@ class DPDKdut(Dut): > """ > Build dpdk sample applications on linux. > """ > + self.send_expect("rm -rf %s" % > r'./app/test/test_resource_c.res.o' , "#") > return self.send_expect("make -j -C %s %s" % (folder, > extra_options), > "# ", 90) >=20 > @@ -319,6 +322,7 @@ class DPDKdut(Dut): > """ > Build dpdk sample applications on Freebsd. > """ > + self.send_expect("rm -rf %s" % > r'./app/test/test_resource_c.res.o' , "#") > return self.send_expect("make -j -C %s %s CC=3Dgcc48" % (folder, > extra_options), > "# ", 90) >=20 > -- > 1.9.3