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 6050666DB for ; Fri, 19 Aug 2016 05:06:11 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP; 18 Aug 2016 20:06:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,543,1464678000"; d="scan'208";a="1028112921" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 18 Aug 2016 20:06:10 -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; Thu, 18 Aug 2016 20:06:10 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.8]) by shsmsx102.ccr.corp.intel.com ([169.254.2.147]) with mapi id 14.03.0248.002; Fri, 19 Aug 2016 11:04:03 +0800 From: "Xu, HuilongX" To: "Richardson, Bruce" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] mk:fix second compile error Thread-Index: AQHR8hfiXlfWANvY9kO3/KMre7EuxKBPqDPQ Date: Fri, 19 Aug 2016 03:04:02 +0000 Message-ID: References: <1470722518-4733-1-git-send-email-huilongx.xu@intel.com> <20160809082713.GA72228@bricha3-MOBL3> In-Reply-To: <20160809082713.GA72228@bricha3-MOBL3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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: [dpdk-dev] [PATCH] mk:fix second compile error 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, 19 Aug 2016 03:06:11 -0000 Hi Brue, Thanks a lot for your comments. I will send V2 patch. > -----Original Message----- > From: Richardson, Bruce > Sent: Tuesday, August 09, 2016 4:27 PM > To: Xu, HuilongX > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk:fix second compile error >=20 > On Tue, Aug 09, 2016 at 02:01:58PM +0800, xu,huilong wrote: > > when compile different targets on a same environment. > > The second compile will failed, because test_resource obj file > > can't auto clearn by makfile. > > > > Signed-off-by: xu,huilong > > --- > > mk/rte.app.mk | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/mk/rte.app.mk b/mk/rte.app.mk > > index eb28e11..d23e8b9 100644 > > --- a/mk/rte.app.mk > > +++ b/mk/rte.app.mk > > @@ -263,7 +263,8 @@ $(RTE_OUTPUT)/app/$(APP).map: $(APP) > > # > > .PHONY: clean > > clean: _postclean > > - $(Q)rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS) > > + $(Q)rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS) > \ > > + test_resource.res test_resource_c.o test_resource_c.res.o > > > This fix looks very specific to the test application, and specific files > in > that application. Can it be made more generic so that it will work if we > add > other resource files to the test app without us having to modify the > top-level > application makefile. >=20 > Regards, > /Bruce