From owner-freebsd-current@FreeBSD.ORG Wed Jan 28 20:41:12 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 873951065753 for ; Wed, 28 Jan 2009 20:41:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5666A8FC1D for ; Wed, 28 Jan 2009 20:41:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id 01DC446B5C; Wed, 28 Jan 2009 15:41:11 -0500 (EST) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n0SKekcj099624; Wed, 28 Jan 2009 15:41:05 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 28 Jan 2009 15:17:37 -0500 User-Agent: KMail/1.9.7 References: <200901281029.41232.nick@van-laarhoven.org> In-Reply-To: <200901281029.41232.nick@van-laarhoven.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901281517.37362.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 28 Jan 2009 15:41:06 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.2/8914/Wed Jan 28 01:40:00 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Nick Hibma Subject: Re: build in /sys/modules broken / other way of building 1 specific module X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 20:41:14 -0000 On Wednesday 28 January 2009 4:29:40 am Nick Hibma wrote: > Folks, > > I am not quite sure as to what its status is (and dfr politely explained > that I was being wereold-fashioned), but the build in /sys/modules is > broken at the moment. Doing > > cd /sys/modules > sudo make > > does not work due to missing opt_hwpmc_hooks.h files required by the build > of genassym. > > The patch below fixes this (creating empty opt_hwpmc_hooks.h files, any > objections?), but I > was wondering whether there is another way for building 1 specific module > instead of having to wait for 100+ modules to build after typing in > > cd /sys/i386/compile/HILDE/ > make -DNO_MODULES_OBJ modules I still build modules this way a lot. Go ahead and commit the patch. -- John Baldwin