[OpenWrt-Devel] Compiling kernel modules for Openwrt

Jonas Gorski jogo at openwrt.org
Tue Jul 15 16:39:12 EDT 2014

On Tue, Jul 15, 2014 at 10:06 PM, Methos <methos.oldest at gmail.com> wrote:
> Hi,
> I am trying to compile kernel module kmod-ipt-tee.
> I enabled it using "make menuconfig"
> Now I see:
> # grep kmod-ipt-tee .config
> CONFIG_PACKAGE_kmod-ipt-tee=m
> But when I execute:
> make package/kernel/{compile,install} V=99
> I see:
> WARNING: kmod-ipt-tee is not available in the kernel config
> After some searching, I found following:
> https://forum.openwrt.org/viewtopic.php?id=33112
> It tells to add kernel module option in
> "target/linux/generic/config-$version"
> But, for kernel modules that are getting compiled in my build setup, I do
> not see them present in "target/linux/generic/config-$version"
> What should I do to get this module compiling?

You need to call "make target/linux/compile", this step actually
compiles the modules/.ko's. package/kernel/compile only packages them.

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list