Closed QGB closed 2 years ago
In file included from /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-4.4.y/drivers/common/mmz/drv_mmz_ext_k.c:18:0: /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-4.4.y/drivers/common/mmz/drv_tzsmmu.h:4:33: fatal error: linux/hisi/tee_smmu.h: No such file or directory #include <linux/hisi/tee_smmu.h> ^ compilation terminated. /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-4.4.y/scripts/Makefile.build:258: recipe for target 'drivers/common/mmz/drv_mmz_ext_k.o' failed make[5]: *** [drivers/common/mmz/drv_mmz_ext_k.o] Error 1 /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-4.4.y/scripts/Makefile.build:403: recipe for target 'drivers/common' failed make[4]: *** [drivers/common] Error 2 /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-4.4.y/Makefile:961: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 make[3]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-4.4.y' Makefile:150: recipe for target 'sub-make' failed make[2]: *** [sub-make] Error 2 make[2]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-4.4.y' Makefile:139: recipe for target '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-4.4.y/arch/arm/boot/uImage' failed make[1]: *** [/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-4.4.y/arch/arm/boot/uImage] Error 2 make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel' Makefile:131: recipe for target 'linux' failed make: *** [linux] Error 2 #### make target "linux V=2 -j8" failed !!!(18:48 (mm:ss)) ####
You need to clone https://github.com/tegzwn/HiSTBLinuxV100R005C00SPC050 and follow the readme to compile kernel,this repository is for study code only.
https://github.com/zjkanjie/HiSTBLinuxV100R005C00SPC060