[PATCH] build system: new configuration interface (nconfig)

Xabier Oneca -- xOneca xoneca at gmail.com
Sun Apr 18 17:20:22 UTC 2021


This patch adds a more modern-looking interface using ncurses. The
implementation does not depend on lxdialog, which is currently distributed with
Busybox.

The code is borrowed from the Linux kernel source tree, and tweaked to fit
and work with Busybox's build system. The revision I arbitrarily selected to
integrate is from 2010-08-16:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/scripts/kconfig?id=a72f3e2b82eb26f43bed1f83beeeb47830918811

I did not use a more modern revision, because upstream has diverged too much to
be integrated without heavy modifications to other frontends.

I really miss this interface, as I am really accustomed to use it in
other projects (eg, Buildroot and Linux kernel).
I tested that menuconfig and gconfig still work as expected, but could
not make xconfig to find my Qt libraries,
so it is not tested for broken things.

I haven't inlined the patch because it is big.

Cheers,

Xabier Oneca_,,_
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-system-new-configuration-interface-nconfig.patch
Type: text/x-patch
Size: 78277 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20210418/1ae16eb7/attachment-0001.bin>


More information about the busybox mailing list