build: fix kernel 5.4 on macos
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Fri, 13 Mar 2020 17:56:40 +0000 (17:56 +0000)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sat, 14 Mar 2020 13:20:06 +0000 (13:20 +0000)
commit0a06fcf608ddf1f5db389decf266283392344784
treec2672e54b7a4fa5389ab41c7343561ccf05f7ce0
parent32726846c85985fbc320d123a7b26b32124cd47a
build: fix kernel 5.4 on macos

As part of the kernel build process there are utilities built to run on
the host system that expect linux kernel headers to be available.
Unfortunately macos/darwin doesn't have these headers.

vdso2c requires types.h so provide a minimal stub to satisfy it.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
tools/Makefile
tools/include/asm/types.h [new file with mode: 0644]