firefly@firefly:~/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd$ make make -C tools make[1]: Entering directory '/home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory '/home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/tools' /home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/tools/bin2h chipset = mt7650u chipset = mt7630u chipset = mt7610u cp -f os/linux/Makefile.6 /home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/os/linux/Makefile make -C /lib/modules/4.4.114/build SUBDIRS=/home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-4.4.114' CC [M] /home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/os/linux/../../os/linux/rt_profile.o In file included from ./arch/arm64/include/asm/sysreg.h:25:0, from ./arch/arm64/include/asm/cputype.h:89, from ./arch/arm64/include/asm/cachetype.h:19, from ./arch/arm64/include/asm/cache.h:19, from include/linux/cache.h:5, from include/linux/printk.h:8, from include/linux/kernel.h:13, from include/linux/list.h:8, from include/linux/module.h:9, from /home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/include/os/rt_linux.h:31, from /home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/include/rtmp_os.h:44, from /home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/include/rtmp_comm.h:75, from /home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/include/rt_config.h:33, from /home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/os/linux/../../os/linux/rt_profile.c:28: ./arch/arm64/include/asm/opcodes.h:5:10: fatal error: ../../arm/include/asm/opcodes.h: No such file or directory #include <../../arm/include/asm/opcodes.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. scripts/Makefile.build:277: recipe for target '/home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/os/linux/../../os/linux/rt_profile.o' failed make[2]: *** [/home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/os/linux/../../os/linux/rt_profile.o] Error 1 Makefile:1456: recipe for target '_module_/home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/os/linux' failed make[1]: *** [_module_/home/firefly/drivers/mt7610u_wifi_sta_v3002_dpo_20130916-638d4f25c4014952bb723d98d85d99ba11ba93bd/os/linux] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.4.114' Makefile:393: recipe for target 'LINUX' failed make: *** [LINUX] Error 2