X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=scripts%2FMakefile.autoconf;h=36bfa17b47e66a15a26f08dfd8e3997a89cba53a;hb=1398252abf2aaf906832932401727c3538f74f46;hp=f054081c98959ccbfd0cbd3acbd660fd2b40637c;hpb=1606b34aa50804227806971dbb6b82ea0bf81f55;p=u-boot diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf index f054081c98..36bfa17b47 100644 --- a/scripts/Makefile.autoconf +++ b/scripts/Makefile.autoconf @@ -58,7 +58,8 @@ quiet_cmd_autoconf = GEN $@ $(CPP) $(c_flags) $2 -DDO_DEPS_ONLY -dM $(srctree)/include/common.h > $@.tmp && { \ sed -n -f $(srctree)/tools/scripts/define2mk.sed $@.tmp | \ while read line; do \ - if ! grep -q "$${line%=*}=" include/config/auto.conf; then \ + if [ -n "${KCONFIG_IGNORE_DUPLICATES}" ] || \ + ! grep -q "$${line%=*}=" include/config/auto.conf; then \ echo "$$line"; \ fi \ done > $@; \