Lines Matching refs:CONFIG_PREFIX
30 #ifndef CONFIG_PREFIX
31 #define CONFIG_PREFIX "CONFIG_" macro
161 if (line[1]!=' ' || memcmp(line + 2, CONFIG_PREFIX, in conf_read_simple()
162 strlen(CONFIG_PREFIX))) { in conf_read_simple()
165 p = strchr(line + 2 + strlen(CONFIG_PREFIX), ' '); in conf_read_simple()
172 sym = sym_find(line + 2 + strlen(CONFIG_PREFIX)); in conf_read_simple()
174 conf_warning("trying to assign nonexistent symbol %s", line + 2 + strlen(CONFIG_PREFIX)); in conf_read_simple()
197 if (memcmp(line, CONFIG_PREFIX, strlen(CONFIG_PREFIX))) { in conf_read_simple()
201 p = strchr(line + strlen(CONFIG_PREFIX), '='); in conf_read_simple()
212 sym = sym_find(line + strlen(CONFIG_PREFIX)); in conf_read_simple()
218 sym = sym_lookup(line + strlen(CONFIG_PREFIX), 0); in conf_read_simple()
501 fprintf(out, "# "CONFIG_PREFIX"%s is not set\n", sym->name); in conf_write()
504 fprintf(out, CONFIG_PREFIX"%s=m\n", sym->name); in conf_write()
507 fprintf(out, CONFIG_PREFIX"%s=y\n", sym->name); in conf_write()
513 fprintf(out, CONFIG_PREFIX"%s=\"", sym->name); in conf_write()
529 fprintf(out, CONFIG_PREFIX"%s=%s\n", sym->name, *str ? str : "0"); in conf_write()
534 fprintf(out, CONFIG_PREFIX"%s=%s\n", sym->name, *str ? str : "0"); in conf_write()
742 fprintf(out, CONFIG_PREFIX"%s=m\n", sym->name); in conf_write_autoconf()
746 fprintf(out, CONFIG_PREFIX"%s=y\n", sym->name); in conf_write_autoconf()
747 fprintf(out_h, "#define "CONFIG_PREFIX"%s 1\n", sym->name); in conf_write_autoconf()
753 fprintf(out, CONFIG_PREFIX"%s=\"", sym->name); in conf_write_autoconf()
754 fprintf(out_h, "#define "CONFIG_PREFIX"%s \"", sym->name); in conf_write_autoconf()
774 fprintf(out, CONFIG_PREFIX"%s=%s\n", sym->name, str); in conf_write_autoconf()
775 fprintf(out_h, "#define "CONFIG_PREFIX"%s 0x%s\n", sym->name, str); in conf_write_autoconf()
780 fprintf(out, CONFIG_PREFIX"%s=%s\n", sym->name, str); in conf_write_autoconf()
781 fprintf(out_h, "#define "CONFIG_PREFIX"%s %s\n", sym->name, str); in conf_write_autoconf()