summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--platforms/kernel.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/platforms/kernel.in b/platforms/kernel.in
index 83b19fe28..f570bd946 100644
--- a/platforms/kernel.in
+++ b/platforms/kernel.in
@@ -11,6 +11,7 @@ menuconfig KERNEL
select HOST_LIBKMOD if KERNEL_MODULES
select HOST_SYSTEM_BC
select HOST_OPENSSL if KERNEL_OPENSSL
+ select HOST_LIBELF if KERNEL_LIBELF
prompt "Linux kernel "
if KERNEL
@@ -259,6 +260,14 @@ config KERNEL_OPENSSL
Select this if you're unsure, as it won't hurt. It just
increases the build time.
+config KERNEL_LIBELF
+ prompt "build libelf host library"
+ bool
+ help
+ Select this if you're going to build your kernel with
+ STACK_VALIDATION enabled. Stack validation is used for the orc
+ unwinder for kernel version >= v4.14 on x86_64.
+
menu "patching & configuration "
config KERNEL_SERIES