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)
committerRISCi_ATOM <bob@bobcall.me>
Fri, 13 Sep 2019 19:55:53 +0000 (15:55 -0400)
commitf487238fd814b74edb65fd8745610fe9f4f1f598
treeb3b9e0ae81d3b5a36b1d316dc959e6a5737df173
parent0b362194299fefb656e07a68a17db7b2c6ff3f22
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>
(cherry picked from commit c3e31b6a9b040912be0b532f9bf29d91c6c74382)
include/kernel.mk