编译内核时出现drivers/mfd/mxc-hdmi-core.c:36:24: fatal error: mach/clock.h: No such file or directory

时间:2022-05-28 00:02:15

在学习恩智浦IMX6D开发板时,编译内核出现

drivers/mfd/mxc-hdmi-core.c::: fatal error: mach/clock.h: No such file or directory
compilation terminated.
make[]: *** [drivers/mfd/mxc-hdmi-core.o] 错误
make[]: *** [drivers/mfd] 错误
make: *** [drivers] 错误

先使用make clean试一下,不行还会出现同样的问题,
最后,找厂家要了新的内核包,编译通过
使用mkimage时出现权限不够:

编译内核时出现drivers/mfd/mxc-hdmi-core.c:36:24: fatal error: mach/clock.h: No such file or directory