内核编译

我们从社区拿过来一个新的内核,如何编译使用呢?

make menuconfig   设置内核的编译项
打开如下配置:
Device Drivers-> Character devices -> HPET - High Precision Event Timer (HPET [=y])-> Allow mmap of HPET
make clean
make -j 8
make -j 8 modules_install
make -j 8 install

Warning: File `Makefile' has modification time 1.5e+07 s in the future

你的 Makefile 时间戳不对 时间在未来某时间
 touch -m Makefile 试试

原文地址:https://www.cnblogs.com/xingmuxin/p/11416611.html