include: kernel-build: pass pkg-config overrides to kernel build
authorJo-Philipp Wich <jo@mein.io>
Fri, 30 Aug 2019 13:24:45 +0000 (15:24 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 30 Aug 2019 13:55:19 +0000 (15:55 +0200)
commit947adc030177fab9de6e701fdff7ea15624ddd50
treecad6b487a34c9784d0ab472e2f5055fc4981ffbd
parentf9017da799749cfd94e6fae9d975fa9060f8c4a3
include: kernel-build: pass pkg-config overrides to kernel build

Pass suitable pkg-config overrides to the kernel build process in
order to let our pkg-config wrapper discover libraries provided
by tools/.

This mainly affects the use of libelf which is required for the
CONFIG_STACK_VALIDATION features. So far, the build system either
silently used host system libraries or kbuild simply disabled the
feature due to the lack of a suitable libelf.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
include/kernel-build.mk