From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: Duplicate config symbols Date: Mon, 13 Jun 2016 14:07:18 +0100 Message-ID: <575EB006.60900@intel.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To: Christian Ehrhardt , dev 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) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 6/13/2016 12:50 PM, Christian Ehrhardt wrote: > Hi, > I wondered multiple times now when changing a config symbol that some o= f > them are in the .config file multiple times. > I totally feel like I'm overlooking something, but still it might be wo= rth > to ask. >=20 > In particular: > awk -F "=3D" '/=3D/ {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 >=20 > Is there any reason to do so or is this an issue in make config? >=20 > Christian Ehrhardt > Software Engineer, Ubuntu Server > Canonical Ltd >=20 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 overwrite= s. Regards, ferruh