summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2021-08-30 17:30:06 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2021-08-30 17:31:28 +0200
commit69f8b0d425ce91f297774520b86c253654acc0f0 (patch)
tree9bacc86618b4b9897b8173eac7700586e61b6bf2
parentd98ca3d3f6aa8fa51ab7c4cc44e9f94b37332c66 (diff)
downloadDistroKit-69f8b0d425ce91f297774520b86c253654acc0f0.tar.gz
DistroKit-69f8b0d425ce91f297774520b86c253654acc0f0.tar.xz
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 <r.schwebel@pengutronix.de>
-rw-r--r--configs/platform-x86_64/platformconfig4
1 files changed, 3 insertions, 1 deletions
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