[OpenWrt-Devel] Compiling kernel modules for Openwrt
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? -M ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Compiling kernel modules for Openwrt
On Tue, Jul 15, 2014 at 10:06 PM, Methos methos.old...@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. Jonas ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Compiling kernel modules for Openwrt
Thanks for the prompt response. I tried to do that for a new package: kmod-ipt-condition I see that it is enabled in .config as 'm'. After that, I executed make target/linux/{compile,install} After that, I executed make package/kernel/{clean,compile,install} I see that file xt_condition.ko is created. But still no kmod-ipt-condition.ipk What last packaging step am I missing? On Tue, Jul 15, 2014 at 4:39 PM, Jonas Gorski j...@openwrt.org wrote: On Tue, Jul 15, 2014 at 10:06 PM, Methos methos.old...@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. Jonas ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel