1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

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 <bobf@mrp3.com>
MFH:		2014Q2
This commit is contained in:
Rene Ladan 2014-06-22 21:01:11 +00:00
parent 3ce126781d
commit 1bb96a2f96
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358828

View File

@ -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)