From 69f8b0d425ce91f297774520b86c253654acc0f0 Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Mon, 30 Aug 2021 17:30:06 +0200 Subject: platform-x86_64: kernel: enable KERNEL_LIBELF Without this option, the kernel fails to comple: In file included from DistroKit/next-x86_64/platform-x86_64/build-target/linux-5.14/tools/objtool/include/objtool/objtool.h:13, from weak.c:10: DistroKit/next-x86_64/platform-x86_64/build-target/linux-5.14/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory compilation terminated. Signed-off-by: Robert Schwebel --- configs/platform-x86_64/platformconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/platform-x86_64/platformconfig b/configs/platform-x86_64/platformconfig index 5089a8a..953d66b 100644 --- a/configs/platform-x86_64/platformconfig +++ b/configs/platform-x86_64/platformconfig @@ -136,7 +136,7 @@ PTXCONF_KERNEL_IMAGE="bzImage" PTXCONF_KERNEL_LZOP=y # PTXCONF_KERNEL_LZ4 is not set # PTXCONF_KERNEL_OPENSSL is not set -# PTXCONF_KERNEL_LIBELF is not set +PTXCONF_KERNEL_LIBELF=y # PTXCONF_KERNEL_GCC_PLUGINS is not set PTXCONF_KERNEL_CONFIG_BASE_VERSION=y @@ -236,8 +236,10 @@ PTXCONF_HOST_E2FSPROGS=y PTXCONF_HOST_GENEXT2FS=y PTXCONF_HOST_GENIMAGE=y PTXCONF_HOST_LIBCONFUSE=y +PTXCONF_HOST_LIBELF=y PTXCONF_HOST_LIBKMOD=y PTXCONF_HOST_LIBLZO=y PTXCONF_HOST_LZOP=y PTXCONF_HOST_SYSTEM_BC=y PTXCONF_HOST_UTIL_LINUX_NG=y +PTXCONF_HOST_ZLIB=y -- cgit v1.2.3