From 1bb96a2f96d75fe891aad4550796ee9839e152c6 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Sun, 22 Jun 2014 21:01:11 +0000 Subject: [PATCH] Add --strip-debug to STRIP_CMD to avoid removing kernel symbols from the installed kernel module. This would otherwise break comms/uarduno on amd64 when converting this port to USES=kmod. PR: 189621 (in private followup) Submitted by: Bob Frazier MFH: 2014Q2 --- Mk/Uses/kmod.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Mk/Uses/kmod.mk b/Mk/Uses/kmod.mk index 3aa9ba879c20..bde744914e16 100644 --- a/Mk/Uses/kmod.mk +++ b/Mk/Uses/kmod.mk @@ -32,6 +32,7 @@ KMODDIR= /boot/modules PLIST_SUB+= KMODDIR="${KMODDIR:C,^/,,}" MAKE_ENV+= KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys" NO_XREF=yes +STRIP_CMD+= --strip-debug # do not strip kernel symbols .endif .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_KMOD_POST_MK)