cxgbe firmware and WITHOUT_SOURCELESS

Christoph Egger christoph at debian.org
Fri Nov 2 19:19:06 UTC 2012


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"


More information about the freebsd-drivers mailing list