numam-dpdk/kernel
Bruce Richardson 89200580ef kernel: fix cross-build of Linux modules with meson
When cross-compiling, if no kernel_dir was specified, then the kernel
modules were still being compiled for the build machine. Fix this by
only building modules on cross-compile when we have a kernel_dir value
set. Print out a message indicating why we are skipping kernel
compilation, and in case that the headers for kernel compile are not
found, print a warning instead of erroring out.

Fixes: a52f4574f7 ("igb_uio: build with meson")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
2018-05-08 22:21:38 +02:00
..
freebsd build: clean up building kernel modules using meson 2018-04-17 16:09:43 +02:00
linux kernel: fix cross-build of Linux modules with meson 2018-05-08 22:21:38 +02:00
Makefile move kernel modules directories 2018-03-21 23:04:21 +01:00
meson.build build: clean up building kernel modules using meson 2018-04-17 16:09:43 +02:00