Re: Build just one module (was Re: [Fwd: cvs commit: src/sys/dev/acpica acpi_cmbat.c])

From: Kevin Oberman <oberman_at_es.net>
Date: Thu, 24 Nov 2005 12:37:31 -0800
> From: Mathieu Prevot <freebsd-stable_at_club-internet.fr>
> Date: Thu, 24 Nov 2005 13:05:47 +0100
> Sender: owner-freebsd-acpi_at_freebsd.org
> 
> 
> Le 23 nov. 05 à 15:48, Doug Poland a écrit :
> 
> > On Wed, Nov 23, 2005 at 11:49:20AM +0100, Mathieu Prevot wrote:
> >>
> >> Le 23 nov. 05 ? 03:49, Doug Poland a ?crit :
> >>
> >>>> Nate Lawson wrote:
> >>>>> Here is a patch that should fix the battery hangs on RELENG_6.  It
> >>>>> was tested to work fine, although I need testing from an affected
> >>>>> user to verify it fixes the problem.  It was committed to HEAD and
> >>>>> will be MFCed if it fixes the problem.
> >>>>>
> >>> My Dell C600 is affected by this problem.  I'm running 6.0-STABLE  > 
> >>> and
> >>> would be glad to test the patch.  Since I don't run patches  
> >>> often, if
> >>> someone could point me to a doc on how to apply the patch, I'd
> >>> appreciate it.
> >> You should think man 'subject', Unix for the impatient or google and
> >> find things like:
> >>
> >> patch -i patchfile filetopatch
> >> patch<patchfile
> >>
> > Thank you, that part is fairly obvious.  What I'm unsure of is  
> > where in
> > the source tree do I apply that patch from, and, must I to rebuild
> > world, or just the affected part of sys/dev.
> 
> Try and see for the patch. 'patch -i patchfile filetopatch' works  
> from anywhere.
> I don't think you need to rebuild world. I think you can just build  
> acpi module but I don't know how.
> You may glance at /usr/src/Makefile* ...

While reading /usr/src/Makefile* should get you there, those with
limited make-foo should go to /sys/modules/acpi and:
make obj
make clean
make depend
make
make install

This will only take a couple of minutes, then reboot your system.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman_at_es.net			Phone: +1 510 486-8634
Received on Thu Nov 24 2005 - 21:00:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:48 UTC