Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Nov 2012 12:17:40 -0700
From:      Christoph Egger <christoph@debian.org>
To:        freebsd-drivers@freebsd.org
Subject:   cxgbe firmware and WITHOUT_SOURCELESS
Message-ID:  <87wqy3q0ff.fsf@mitoraj.siccegge.de>

next in thread | raw e-mail | index | archive | help
Hi folks!

  Running a WITHOUT_SOURCELESS build on 10-CURRENT source includes the
cxbge firmware part which -- as far as I can tell -- is totally
sourceless. You might want to use the patch below (or direct me to a
better place to submit this patch to).

Regards

    Christoph

Index: modules/cxgbe/Makefile
===================================================================
--- modules/cxgbe/Makefile	(revision 242489)
+++ modules/cxgbe/Makefile	(working copy)
@@ -2,8 +2,14 @@
 # $FreeBSD$
 #
 
+.include <bsd.own.mk>
+
 SUBDIR = if_cxgbe
+
+.if ${MK_SOURCELESS_UCODE} != "no"
 SUBDIR+= firmware
+.endif
+
 SUBDIR+= ${_tom}
 
 .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87wqy3q0ff.fsf>