diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-02-08 11:09:56 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-02-08 11:09:59 +0100 |
commit | 4b39b66e09ad225c26ea78c8d85f4cf852054e02 (patch) | |
tree | b172387691522c213133b9bef5dda7a3f6ed68da /platforms | |
parent | c76fcec00252b72725954608572c100a3cf78973 (diff) | |
download | ptxdist-4b39b66e09ad225c26ea78c8d85f4cf852054e02.tar.gz ptxdist-4b39b66e09ad225c26ea78c8d85f4cf852054e02.tar.xz |
kernel: add option to depend on host-libelf
This is need for x86_64 kernel with orc unwinder enabled.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/kernel.in | 9 |
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 |