From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 619D58E95 for ; Thu, 8 Sep 2016 03:41:18 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 07 Sep 2016 18:41:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,298,1470726000"; d="scan'208";a="1047082918" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga002.jf.intel.com with ESMTP; 07 Sep 2016 18:41:16 -0700 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Thu, 8 Sep 2016 09:36:40 +0800 Message-Id: <1473298600-6652-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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 01:41:18 -0000 dpdk makefile add a new function for build resource file. so before compile dpdk again, we need remove the resource. Signed-off-by: xu,huilong --- framework/project_dpdk.py | 4 ++++ 1 file changed, 4 insertions(+) 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 = 900 # clean all self.send_expect("rm -rf " + target, "#") + self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.o' , "#") # compile out = self.send_expect("make -j install T=%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' , "#") # compile out = self.send_expect("make -j %d install T=%s CC=gcc48" % (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) @@ -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=gcc48" % (folder, extra_options), "# ", 90) -- 1.9.3