How to compile a driver for MT7610u wifi dongle ?


I’m trying to connect ASUS USB-AC5 dongle (MT7610U) chipset to Dietpi (Odroid C2 version).

I found some topic that MT7610u chipset could be ran after compiling & installing the code on

so, I want to ask what is needed to compile this code.

Question1 : When compiling the “PLATFORM = PC”, the below directories has to be set up correctly.

ifeq ($(PLATFORM),PC)

Linux 2.6

LINUX_SRC = /lib/modules/$(shell uname -r)/build

Linux 2.4 Change to your local setting

#LINUX_SRC = /usr/src/linux-2.4
LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/

but I found threre’s no Dietpi source code for doing a cross-compiling.
(I’m using the kernel version “3.14.79+”, but there’s no directory named “/lib/modules/3.14.79+/build/”)

How could I get the proper source code for compiling the ?

Question2 : is there any other way for installing MT7610u driver on my Odroid with Dietpi ?