Compiling a Specific SDK


Instead of using a pre-compiled SDK, I want to compile a specific SDK which uses glibc instead of musl. How can I do that?

Thanks in advance.


Install the sdk and via make menuconfig there is a option to switch the c-lib, i guess under base-system or developer options. Than you have to set your target and packages and compile via make -j4. This results in your own custom firmware.

As far as I know the choice of libc is fixed for a particular SDK. You need to install the original OpenWrt sources and rebuild the SDK to get support for a different libc variant.
Building the SDK is an option in make menuconfig.