Make a bin file for OpenWrt

Is it possible to cross-compile backports for OpenWRT?
I wanted to make a bin file for OpenWRT with older kernel and after installation cross-compile backports of ath10k. I had many problems but even I am not sure whether it is possible.

Thanks,
gracylayla

I'm not entirely sure what your question is but as far as I can tell you want to compile the ath10k driver with an older kernel?

It is theoretically possible however it may rely on changes in the wireless (mac80211) stack for instance which may not be easily backported due to API changes etc. OpenWrt does also carry quite a bit of patches for each component which will make it harder. In this case you'll need to "hack"/patch buildroot (source tree) to fit your needs. Unless you have a very specific need for a certain kernel version it's probably not worth the effort.