I have a new Raspberry Pi 4 being used to replace an easily hacked Netgear device. I have it goign well with built-in GB and added USB3 Gig Ethernet. However I want to add a QNAP 5GBe USB dongle. The internals are made by Aquantia aqc111 and they have a linux driver source code available.
I am trying to make sense of the build-process, I can successfully build my own snapshot. However I can't figure out how to add the new driver in the kernel and actually add it to menuconfig. I understand I need a local feeds and a Makefile, but I can't figure out where to put those (not going to be a tar.gz and not downloaded, but local) and would love to see an example of an existing Makefile (the rtl8152 is already in the system so would be great)
The first questions I have are:
- Where do I put the driver source and accompanying Makefile so that openwrt build process see it.
- Where can I see existing Makefile for rtl8152
- How do I make sure this all survives a git pull and/or make download
Thanks for your help!