]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
linux: add BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 4 Mar 2018 21:31:16 +0000 (22:31 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 30 Mar 2018 16:59:16 +0000 (18:59 +0200)
commit803f16c9671b503a265a39d7b94fba0acd2b3c4c
tree7460cb458e8fe0fa9198ab832285d45d0d2083f4
parentcec73346519d9da80bc0a52534b643c15987b4a5
linux: add BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF

Some Linux kernel configuration options (such as CONFIG_UNWINDER_ORC)
require building a host program that needs libelf.

Users who have libelf installed on their system won't see a problem,
but users who don't have libelf installed will get a build
failure. Therefore, this commit adds an option that allows a user to
indicate that his Linux kernel configuration requires libelf. When
this option is enabled, we add host-elfutils to the dependencies of
the linux package (host-elfutils provides the libelf library).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit f7cd72b3d4e2b1d993c293e355e350bedbed4eab)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
linux/Config.in
linux/linux.mk