Topic: "make menuconfig" for all kernel modules, configuration - how?

Normally, when we run "make menuconfig" within openwrt directory, it offers only very basic kernel configuration.

Is it possible to run "make menuconfig" for all kernel modules, kernel options etc.?

WPKG - http://wpkg.org
Software deployment / silent installation with Samba

2 (edited by frak 2006-07-14 10:05:48)

Re: "make menuconfig" for all kernel modules, configuration - how?

To configure the current kernel:

cd $YOUR_OPENWRT_ROOT/build_$YOUR_ARCH/linux; make menuconfig

To store the current kernel configuration as default:

cp $YOUR_OPENWRT_ROOT/build_$YOUR_ARCHITECTURE/.config $YOUR_OPENWRT_ROOT/target/linux/$YOUR_KERNELNAME/config

YOUR_ARCHITECTURE is something like i386, mips etc.
YOUR_KERNELNAME is something like brcm-2.4, x86-2.6 etc


And a side note: if you are cross-compiling (which you probable are, e.g. building executables for mips on a x86 box), then you should configure the kernel likeso:

cd $YOUR_OPENWRT_ROOT/build_$YOUR_ARCH/linux; make ARCH=$YOUR_ARCH menuconfig

This way, you will get menuconfig to display target options instead of build host options.