From 6e4cf32e95841b4c3ef0caeb80802bf528a35cd0 Mon Sep 17 00:00:00 2001 From: Dmitry Chagin Date: Mon, 13 May 2019 18:28:40 +0000 Subject: Add warning to the Linuxulator makefiles that building it outside of a kernel does not make sence. PR: 222861 MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D20179 --- sys/modules/linux_common/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/modules/linux_common') diff --git a/sys/modules/linux_common/Makefile b/sys/modules/linux_common/Makefile index 9fb0210810fb..5b49a7409997 100644 --- a/sys/modules/linux_common/Makefile +++ b/sys/modules/linux_common/Makefile @@ -15,4 +15,8 @@ EXPORT_SYMS+= linux_ioctl_unregister_handler EXPORT_SYMS+= linux_get_osname EXPORT_SYMS+= linux_get_osrelease +.if !defined(KERNBUILDDIR) +.warning Building Linuxulator outside of a kernel does not make sense +.endif + .include -- cgit v1.3