build: skip kernel stack validation when building on macOS
authorFelix Fietkau <nbd@nbd.name>
Wed, 3 Jul 2019 11:29:13 +0000 (13:29 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 3 Jul 2019 12:07:59 +0000 (14:07 +0200)
commitc3e31b6a9b040912be0b532f9bf29d91c6c74382
tree0ddd0a01dde21d988383e54c97318555258c8082
parent030d3f48e56d3a141b98a293bb3cb5b8a9ef956d
build: skip kernel stack validation when building on macOS

Since we switched to 4.19, the kernel build checks for libelf to decide if
it should build tools for stack validation.

On macOS, this check fails during target/compile, but succeeds during package
build (because of the pkg-config path picking up target libraries).

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/kernel.mk