Thanks for the replies. Rebuilding the mac8011 package was the trick I needed, plus the comment that Roman made with his package rebuild patch he just put out.
Rebuild procedure: - edit/save the code - cd build_dir/mac80211 - make clean - rm -f .built* - cd - - make package/mac80211/compile I tried Roman's corresponding patch, but didn't have much luck, but at least I can do what I need with the above procedure. Thanks! Thomas Taranowski Certified netburner consultant baringforge.com On Tue, Nov 27, 2012 at 1:56 AM, Petr Štetiar <yn...@true.cz> wrote: > Thomas Taranowski <t...@baringforge.com> [2012-11-26 20:39:18]: > > > I'm working on making some prototype mods to the ath9k driver, and am > > trying to figure out how to get the affected kernel ath9k module to > > rebuild, and subsequently have the appropriate image rebuilt. I've > tried a > > number of paths, but without much luck. I've had the most luck with > > running 'make target/linux/compile" and "make target/linux/install" from > > the root openwrt directory, but that only rebuilds the kernel, and not > the > > associated kernel modules. It's like it's missing a "make modules" step, > > but I don't see where that target exists in the current build structure. > > AFAIK OpenWRT uses compact-wireless, not the in-kernel modules. So you > need to > patch your driver there. Look at package/mac80211/patches. > > > How do folks normally do linux kernel module development under openwrt? > > I don't use OWRT build system for faster turnarounds, so I just source one > env > file which sets the corresponding crosscompile environment and then just > use > make in the kernel source dir directly (build_dir/linux*/linux*) and > symlink > there from tftp/nfsroot/whatever. > > -- ynezz > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel >
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel