From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 11A372BC3 for ; Mon, 13 Jun 2016 15:07:24 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 13 Jun 2016 06:07:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,466,1459839600"; d="scan'208";a="826998090" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.87]) ([10.237.220.87]) by orsmga003.jf.intel.com with ESMTP; 13 Jun 2016 06:07:21 -0700 To: Christian Ehrhardt , dev References: From: Ferruh Yigit Message-ID: <575EB006.60900@intel.com> Date: Mon, 13 Jun 2016 14:07:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] Duplicate config symbols 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: Mon, 13 Jun 2016 13:07:25 -0000 On 6/13/2016 12:50 PM, Christian Ehrhardt wrote: > Hi, > I wondered multiple times now when changing a config symbol that some of > them are in the .config file multiple times. > I totally feel like I'm overlooking something, but still it might be worth > to ask. > > In particular: > awk -F "=" '/=/ {print $1}' debian/build/static-root/.config | sort | uniq > -c | sort -n | grep -v 1 > 2 CONFIG_RTE_ARCH > 2 CONFIG_RTE_EAL_IGB_UIO > 2 CONFIG_RTE_EAL_VFIO > 2 CONFIG_RTE_EXEC_ENV > 2 CONFIG_RTE_KNI_KMOD > 2 CONFIG_RTE_LIBRTE_KNI > 2 CONFIG_RTE_LIBRTE_PMD_AF_PACKET > 2 CONFIG_RTE_LIBRTE_PMD_VHOST > 2 CONFIG_RTE_LIBRTE_POWER > 2 CONFIG_RTE_LIBRTE_VHOST > 2 CONFIG_RTE_MACHINE > 2 CONFIG_RTE_TOOLCHAIN > > Is there any reason to do so or is this an issue in make config? > > Christian Ehrhardt > Software Engineer, Ubuntu Server > Canonical Ltd > This happened with commit: 43f4364 config: remove duplicate information I commented something similar, and send a patch to fix this: http://dpdk.org/ml/archives/dev/2016-March/034718.html With current implementation, the last occurrence of config item overwrites. Regards, ferruh