* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes: kconfig: drop the ""trying to assign nonexistent symbol" warning kconfig: always write out .config
···596596 break;597597 }598598599599- if (conf_get_changed() && conf_write(NULL)) {599599+ if (conf_write(NULL)) {600600 fprintf(stderr, _("\n*** Error during writing of the kernel configuration.\n\n"));601601 exit(1);602602 }
+2-6
scripts/kconfig/confdata.c
···222222 continue;223223 if (def == S_DEF_USER) {224224 sym = sym_find(line + 9);225225- if (!sym) {226226- conf_warning("trying to assign nonexistent symbol %s", line + 9);225225+ if (!sym)227226 break;228228- }229227 } else {230228 sym = sym_lookup(line + 9, 0);231229 if (sym->type == S_UNKNOWN)···259261 }260262 if (def == S_DEF_USER) {261263 sym = sym_find(line + 7);262262- if (!sym) {263263- conf_warning("trying to assign nonexistent symbol %s", line + 7);264264+ if (!sym)264265 break;265265- }266266 } else {267267 sym = sym_lookup(line + 7, 0);268268 if (sym->type == S_UNKNOWN)