hnyman wrote:After changing kernel patches, you need to "make clean" before the next compilation.
Where are you placing the patches?
And exactly which "build directory" we are now talking about?
The files I am changing are in ./build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.23/drivers/net/wireless/ath/ath9k/. The quilt stuff was done in ./build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.23/. In that directory I can also see my patch files in ./patches/platform
hnyman wrote:"make target/linux/clean" should clean the kernel build.
"make target/linux/prepare" should unpack the sources again and apply the patches
"make target/linux/compile" should then compile the kernel.
I did that as the wiki suggested, there they have it in one command "make target/linux/{clean,prepare} V=s QUILT=1", I also compiled it again.
hnyman wrote:But when talking about ath9k changes, I think that you might actually be talking about the mac80211 kernel package. Thus:
make package/mac80211/{clean,prepare}
make package/mac80211/compile
For mac80211 patches, the place for patches should be <build_root>/package/kernel/mac80211/patches/
I just looked at that package, it seems to change the same files as the the patches in the directory I mentioned above. What is the difference here?
mazilo wrote:If you followed the wiki, then make sure your patched file gets applied with quilt push. Once you have done that, you can use any text editor to edit the file patched by quilt to see if the quilt push has made the changes to the file. If not, then there is something wrong with your patched file. Otherwise, proceed as explain above by hnyman.
I did apply the patch with quilt push, also "make target/linux/{clean,prepare} V=s QUILT=1" shows that the patch is applied. The patch file itself was created through quilt, so I don't think there is something wrong with the patch file.
(Last edited by Kacha on 16 Feb 2016, 16:11)