[dpdk-dev] Duplicate config symbols

Ferruh Yigit ferruh.yigit at intel.com
Mon Jun 13 15:07:18 CEST 2016


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




More information about the dev mailing list