From owner-freebsd-drivers@FreeBSD.ORG Fri Nov 2 19:19:06 2012 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48638534 for ; Fri, 2 Nov 2012 19:19:06 +0000 (UTC) (envelope-from christoph@christoph-egger.org) Received: from 1und1.siccegge.de (cl-1281.dus-01.de.sixxs.net [IPv6:2a01:198:200:500::2]) by mx1.freebsd.org (Postfix) with ESMTP id 00CE18FC08 for ; Fri, 2 Nov 2012 19:19:05 +0000 (UTC) Received: from cl-26.lax-02.us.sixxs.net ([2607:f878:fe00:19::2] helo=localhost) by 1und1.siccegge.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TUMlj-0005Zu-UK for freebsd-drivers@freebsd.org; Fri, 02 Nov 2012 20:19:04 +0100 From: Christoph Egger To: freebsd-drivers@freebsd.org Subject: cxgbe firmware and WITHOUT_SOURCELESS Organization: Privat User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/kfreebsd) Date: Fri, 02 Nov 2012 12:17:40 -0700 Message-ID: <87wqy3q0ff.fsf@mitoraj.siccegge.de> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 19:19:06 -0000 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 + SUBDIR = if_cxgbe + +.if ${MK_SOURCELESS_UCODE} != "no" SUBDIR+= firmware +.endif + SUBDIR+= ${_tom} .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"