From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 27 17:30:06 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEBB516A4CE for ; Tue, 27 Jul 2004 17:30:06 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D338E43D48 for ; Tue, 27 Jul 2004 17:30:06 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 09E1A7A481; Tue, 27 Jul 2004 10:30:06 -0700 (PDT) Message-ID: <4106911D.6090201@elischer.org> Date: Tue, 27 Jul 2004 10:30:05 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: "M. Warner Losh" References: <20040727160206.GA1784@stud.fit.vutbr.cz> <20040727.100848.15611424.imp@bsdimp.com> In-Reply-To: <20040727.100848.15611424.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: xdivac02@stud.fit.vutbr.cz cc: hackers@freebsd.org Subject: Re: new files in kernel build X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 17:30:07 -0000 M. Warner Losh wrote: >In message: <20040727160206.GA1784@stud.fit.vutbr.cz> > Divacky Roman writes: >: Hi, >: >: If I want to add some files into kernel sources, what am I supposed to do to >: them compile? I added some into sys/net80211/ but they dont compile... >: >: I tried sys/conf/files but it does help, just prints a message about having it >: defined before... > >Exact error messages would be helpful. > >Generally, you put them in sys/conf/files, re-run config and life is >good. > if you want to add these files without editing /sys/conf/files you can add them to /sys/conf//files.{YOURCONFIG} e.g. we backported the firewire to an older kernel and have a proprietary driver as well.. our files.VICOR looks like: %cat files.VICOR xdcpdrvr.o optional xdcp \ dependency "$S/dev/xdcp/xdcpdrvr.o.uu" \ compile-with "uudecode < $S/dev/xdcp/xdcpdrvr.o.uu" \ no-implicit-rule dev/firewire/firewire.c optional firewire dev/firewire/fwcrom.c optional firewire dev/firewire/fwdev.c optional firewire dev/firewire/fwmem.c optional firewire dev/firewire/fwohci.c optional firewire dev/firewire/fwohci_pci.c optional firewire pci dev/firewire/if_fwe.c optional fwe dev/firewire/sbp.c optional sbp without looking at the source to config, it seems to use teh entry on the 'ident' line to look for these files.. > >Warner >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >