From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 1221A37B1 for ; Wed, 19 Apr 2017 17:19:32 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Apr 2017 08:19:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,221,1488873600"; d="scan'208";a="91743237" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.59]) ([10.237.220.59]) by fmsmga006.fm.intel.com with ESMTP; 19 Apr 2017 08:19:31 -0700 To: "Mody, Rasesh" , "Patil, Harish" Cc: Bruce Richardson , Thomas Monjalon , DPDK References: <1461766722-7745-1-git-send-email-rasesh.mody@qlogic.com> <1461766722-7745-2-git-send-email-rasesh.mody@qlogic.com> <225ecab3-f6af-afaa-ec13-4f53d3f3b566@intel.com> From: Ferruh Yigit Message-ID: <0d9df1f9-688f-e7ab-15c2-4288c700aaa8@intel.com> Date: Wed, 19 Apr 2017 16:19:31 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v7 1/7] qede: add base driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2017 15:19:33 -0000 <...> >>> + >>> +# >>> +# Add extra flags for base ecore driver files # to disable warnings >>> +in them # # BASE_DRIVER_OBJS=$(patsubst %.c,%.o,$(notdir $(wildcard >>> +$(SRCDIR)/base/*.c))) $(foreach obj, $(BASE_DRIVER_OBJS), $(eval >>> +CFLAGS+=$(CFLAGS_BASE_DRIVER))) >> >> My eyes just caught this one, above line adds $(CFLAGS_BASE_DRIVER) >> many times to $(CFLAGS), but real intentions is add to obj specific CFLAGS >> and only being limited to base files. >> >> Like: >> $(foreach obj, $(BASE_DRIVER_OBJS), $(eval >> CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER))) >> >> Can you please fix this? > > We will look into this, we plan to submit the fix as separate bug fix patch in 17.05 timeframe. Reminder. > > Thanks! > -Rasesh > >> >> Fixing this may give some build errors on non-base driver files, although not >> sure. >> >> Thanks, >> ferruh