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

Reply via email to