Hey Hackers, as you may or may not have noticed, the automatic rebuilding of kernel modules and kernel module packages has always been a bit flakey in OpenWrt. Either it rebuilds too much or too little if you go and change things in the kernel build directory. I would like to fix that and propose the following:
- get rid of the separate kernel module install directory - convert all references to in-tree modules in package/kernel/modules/*.mk to point at .ko files in the kernel build directory - add explicit dependencies on kmod files in the KernelPackage template This should make things more solid and it will also get rid of a rare chicken-and-egg problem which has hit me at times: If the kernel has built a System.map previously, then it will check all required symbols for kernel modules and barf if some of them are missing. The problem is that System.map is always refreshed *after* building the modules, so some config changes cause the modules build to crap out. Do you like this solution or would you prefer a different one? - Felix _______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
