cp lkl_ebpf_config arch/lkl/configs/defconfig
make ARCH=lkl defconfig
make ARCH=lkl -j8
make ARCH=lkl failed with the following errors:
In file included from ./arch/lkl/include/asm/bitsperlong.h:4,
from ./include/uapi/asm-generic/int-ll64.h:12,
from ./include/asm-generic/int-ll64.h:11,
from ./include/uapi/asm-generic/types.h:7,
from ./arch/lkl/include/generated/uapi/asm/types.h:1,
from ./include/uapi/linux/types.h:5,
from ./include/linux/types.h:6,
from ./include/linux/mod_devicetable.h:12,
from scripts/mod/devicetable-offsets.c:3:
./arch/lkl/include/uapi/asm/bitsperlong.h:4:10: fatal error: asm/config.h: No such file or directory
4 | #include <asm/config.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.build:117: scripts/mod/devicetable-offsets.s] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1207: prepare0] Error 2
Kernel compilation:
make ARCH=lkl
failed with the following errors: