projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add {package,target,toolchain}/* targets to toplevel makefile
[openwrt.git]
/
scripts
/
config
/
confdata.c
diff --git
a/scripts/config/confdata.c
b/scripts/config/confdata.c
index
b0cbbe2
..
a1abdeb
100644
(file)
--- a/
scripts/config/confdata.c
+++ b/
scripts/config/confdata.c
@@
-22,13
+22,10
@@
static int conf_lineno, conf_warnings, conf_unsaved;
const char conf_def_filename[] = ".config";
const char conf_def_filename[] = ".config";
-const char conf_defname[] = "
arch/$ARCH
/defconfig";
+const char conf_defname[] = "
scripts/config
/defconfig";
const char *conf_confnames[] = {
".config",
const char *conf_confnames[] = {
".config",
- "/lib/modules/$UNAME_RELEASE/.config",
- "/etc/kernel-config",
- "/boot/config-$UNAME_RELEASE",
conf_defname,
NULL,
};
conf_defname,
NULL,
};
@@
-375,7
+372,7
@@
int conf_write(const char *name)
if (!out_h)
return 1;
}
if (!out_h)
return 1;
}
- sym = sym_lookup("
KERNEL
VERSION", 0);
+ sym = sym_lookup("
OPENWRT
VERSION", 0);
sym_calc_value(sym);
time(&now);
env = getenv("KCONFIG_NOTIMESTAMP");
sym_calc_value(sym);
time(&now);
env = getenv("KCONFIG_NOTIMESTAMP");
@@
-384,7
+381,7
@@
int conf_write(const char *name)
fprintf(out, _("#\n"
"# Automatically generated make config: don't edit\n"
fprintf(out, _("#\n"
"# Automatically generated make config: don't edit\n"
- "#
Linux kernel
version: %s\n"
+ "#
OpenWrt
version: %s\n"
"%s%s"
"#\n"),
sym_get_string_value(sym),
"%s%s"
"#\n"),
sym_get_string_value(sym),
@@
-393,7
+390,7
@@
int conf_write(const char *name)
if (out_h)
fprintf(out_h, "/*\n"
" * Automatically generated C config: don't edit\n"
if (out_h)
fprintf(out_h, "/*\n"
" * Automatically generated C config: don't edit\n"
- " *
Linux kernel
version: %s\n"
+ " *
OpenWrt
version: %s\n"
"%s%s"
" */\n"
"#define AUTOCONF_INCLUDED\n",
"%s%s"
" */\n"
"#define AUTOCONF_INCLUDED\n",
@@
-428,8
+425,11
@@
int conf_write(const char *name)
type = sym->type;
if (type == S_TRISTATE) {
sym_calc_value(modules_sym);
type = sym->type;
if (type == S_TRISTATE) {
sym_calc_value(modules_sym);
+/* tristate always enabled */
+#if 0
if (modules_sym->curr.tri == no)
type = S_BOOLEAN;
if (modules_sym->curr.tri == no)
type = S_BOOLEAN;
+#endif
}
switch (type) {
case S_BOOLEAN:
}
switch (type) {
case S_BOOLEAN:
This page took
0.02315 seconds
and
4
git commands to generate.