Allow 'make menuconfig' to function within libpayload.
Removes reference to BusyBox. Signed-off-by: Christopher Kilgour <techie@whiterocker.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3178 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
dc69e05d90
commit
0c1cea29e7
|
@ -22,7 +22,7 @@ static int conf_lineno, conf_warnings, conf_unsaved;
|
||||||
|
|
||||||
const char conf_def_filename[] = ".config";
|
const char conf_def_filename[] = ".config";
|
||||||
|
|
||||||
const char conf_defname[] = "scripts/defconfig";
|
const char conf_defname[] = "util/defconfig";
|
||||||
|
|
||||||
const char *conf_confnames[] = {
|
const char *conf_confnames[] = {
|
||||||
".config",
|
".config",
|
||||||
|
|
|
@ -15,7 +15,7 @@ void kconfig_load(void)
|
||||||
|
|
||||||
handle = dlopen("./libkconfig.so", RTLD_LAZY);
|
handle = dlopen("./libkconfig.so", RTLD_LAZY);
|
||||||
if (!handle) {
|
if (!handle) {
|
||||||
handle = dlopen("./scripts/kconfig/libkconfig.so", RTLD_LAZY);
|
handle = dlopen("./util/kconfig/libkconfig.so", RTLD_LAZY);
|
||||||
if (!handle) {
|
if (!handle) {
|
||||||
fprintf(stderr, "%s\n", dlerror());
|
fprintf(stderr, "%s\n", dlerror());
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
|
@ -324,7 +324,7 @@ static void cprint_init(void)
|
||||||
memset(args, 0, sizeof(args));
|
memset(args, 0, sizeof(args));
|
||||||
indent = 0;
|
indent = 0;
|
||||||
child_count = 0;
|
child_count = 0;
|
||||||
cprint("./scripts/kconfig/lxdialog/lxdialog");
|
cprint("./util/kconfig/lxdialog/lxdialog");
|
||||||
cprint("--backtitle");
|
cprint("--backtitle");
|
||||||
cprint(menu_backtitle);
|
cprint(menu_backtitle);
|
||||||
}
|
}
|
||||||
|
@ -1052,7 +1052,7 @@ int main(int ac, char **av)
|
||||||
|
|
||||||
sym = sym_lookup("KERNELVERSION", 0);
|
sym = sym_lookup("KERNELVERSION", 0);
|
||||||
sym_calc_value(sym);
|
sym_calc_value(sym);
|
||||||
sprintf(menu_backtitle, _("BusyBox %s Configuration"),
|
sprintf(menu_backtitle, _("libpayload %s Configuration"),
|
||||||
sym_get_string_value(sym));
|
sym_get_string_value(sym));
|
||||||
|
|
||||||
mode = getenv("MENUCONFIG_MODE");
|
mode = getenv("MENUCONFIG_MODE");
|
||||||
|
|
Loading…
Reference in New Issue