编译出错 mi4c mko-mr1 缺少linux/types.h

编译出错 mi4c mko-mr1 缺少linux/types.h
4.0 1

In file included from /Volumes/android/mko-mr1/kernel/xiaomi/leo/scripts/sortextable.c:31:
/Volumes/android/mko-mr1/kernel/xiaomi/leo/tools/include/tools/be_byteshift.h:4:10: fatal error: ‘linux/types.h’ file not found
#include <linux/types.h>
^
1 error generated.
make[2]: *** [scripts/sortextable] Error 1
make[2]: *** Waiting for unfinished jobs…

搜索没找到方法
求大神指点

有些机型的内核不支持在mac上编译。