交叉编译arm架构的kselftest?

Cross compiling kselftest of arm architecture?

我正在尝试为 ARM 架构交叉编译 Linux 的自测,我收到以下错误,我不知道交叉编译:

pradeepgoswami@delandroid02:~/5_1_code/bin/code$ make ARCH=arm CROSS_COMPILE=arm-eabi- -C kernel/tools/testing/selftests/vm/
make: Entering directory `/home/pradeepgoswami/5_1_code/bin/code/kernel/tools/testing/selftests/vm'
arm-eabi-gcc -Wall -o hugepage-mmap hugepage-mmap.c
hugepage-mmap.c:19:20: fatal error: stdlib.h: No such file or directory
 #include <stdlib.h>
                    ^
compilation terminated.
make: *** [hugepage-mmap] Error 1

我对自测工具的vm测试用例感兴趣

我能够使用以下命令从内核目录的顶部交叉编译:-

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -C tool/testing/selftest

谢谢