From d24567369ec79e227da796ae022efc1c9ba9fdf2 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 6 Dec 2019 19:46:18 +0000 Subject: [PATCH] on error, remind user of variable used to set src tree location trying to build kmod ports without a src tree in /usr/src results in a failure reporitng that the build requires kernel source files in /usr/src. Mention also the make variable (SRC_BASE) that sets the path as a hint to users building against a src tree located elsewhere. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D22707 --- Mk/Uses/kmod.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mk/Uses/kmod.mk b/Mk/Uses/kmod.mk index b8f3563bb40d..6c0d6c471f88 100644 --- a/Mk/Uses/kmod.mk +++ b/Mk/Uses/kmod.mk @@ -22,7 +22,7 @@ IGNORE= USES=kmod takes either no arguments or 'debug' .endif .if !exists(${SRC_BASE}/sys/Makefile) -IGNORE= requires kernel source files in ${SRC_BASE} +IGNORE= requires kernel source files in SRC_BASE=${SRC_BASE} .endif CATEGORIES+= kld