Re: PROBLEM: "Make nenuconfig" does not save parameters.

From: Roman Zippel
Date: Sun Mar 18 2007 - 12:13:31 EST


Hi,

On Sunday 11 March 2007 20:50, Sam Ravnborg wrote:

> + sym = sym_lookup("KERNELVERSION", 0);
> + sym_calc_value(sym);
> + size = snprintf(menu_backtitle, sizeof(menu_backtitle),
> + _("%s - Linux Kernel v%s Configuration"),
> + config_filename, sym_get_string_value(sym));

An alternative might to only show the filename, only if explicitly set.

> + set_config_filename(".config");

Please don't hardcode the filename, use conf_get_configname() instead.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/