How to compile kernel modules?

I’m trying to compile kernel module driver for 5Ghz WiFi dongle. URL: https://www.edimax.com/edimax/mw/cufiles/files/download/Driver_Utility/EW-7822ULC_Linux_Driver_1.0.1.6.zip

Now I run ubuntu 16.04 desktop with kernel 4.4.89 on my BPI-M64. Current kernel arch looks like aarch64. But there is no aarch64 makefile in /usr/src/linux-headers-blabla/arch. So I tried to compile with the below command. ARCH=arm64 make I failed to compile…

My question is How can I find proper linux header files for ubuntu 16.04 desktop with kernel 4.4.89 forBPI-M64?

Thank you for advance!!!

you can see here: How to build uboot & kernel