I'm trying to build openwrt master for a tplink_eap235-wall-v1 with a hack/patch for a problem with it's mt7613.
I've cloned and fetched both the openwrt and mt76 repositories, patched the relevant file (mt76/7615/mcu.c) But when I build openwrt it doesn't seem to use the patched file. How do I make the feed/makefile point to the local mt76 repository?
However patches are new to me. It's not clear to me what the file in the patches directory should contain. The link points to a diff of mcu.c. Something should be added to the patch file to make clear the diff is about 7615/mcu.c, right?
That did the trick! The build was successful and it's running now. I see the one of the tx queues (AC31) growing every now and then for about 6 seconds and then it gets cleared. Looks like the patch is doing is work. Nice!
@elcovv I tried another master build myself this weekend for the 5.10 bump on ramips, and I decided to have a closer look at the hack breaking compilation. It seems it needed adapting after this commit:
You can find the adapted patch for master here. BTW, it seems you're trying to apply these patches in the mt76 source dir (or at least definitely not in the top dir of your buildroot), and you should just apply these in your buildroot, not in a subdir: