svn commit: r358828 - head/Mk/Uses

Rene Ladan rene at FreeBSD.org
Sun Jun 22 21:01:12 UTC 2014


Author: rene
Date: Sun Jun 22 21:01:11 2014
New Revision: 358828
URL: http://svnweb.freebsd.org/changeset/ports/358828
QAT: https://qat.redports.org/buildarchive/r358828/

Log:
  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 at mrp3.com>
  MFH:		2014Q2

Modified:
  head/Mk/Uses/kmod.mk

Modified: head/Mk/Uses/kmod.mk
==============================================================================
--- head/Mk/Uses/kmod.mk	Sun Jun 22 20:47:37 2014	(r358827)
+++ head/Mk/Uses/kmod.mk	Sun Jun 22 21:01:11 2014	(r358828)
@@ -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)


More information about the svn-ports-head mailing list