[PlanetCCRMA] compiling the planetCCRMA kernel
Fernando Lopez-Lezcano
nando@ccrma.Stanford.EDU
Mon Oct 9 11:29:03 2006
On Sun, 2006-10-08 at 20:06 -0700, Rich E wrote:
> The directions linked above, combined with Fernando's suggestion,
> allows me to compile
> http://ccrma.stanford.edu/planetccrma/mirror/all/linux/SRPMS/kernel-2.6.16-1.2080.16.rrt.src.rpm
> with wacom support.
>
> Is there a similar smp kernel source, or do I have to do some editing
> to the kernel-spec file? When using this kernel on my P4 2.4 with
> hyperthreading, it seems hyperthreading is disabled.
Rebuilding the source rpm should create both uniprocessor and
multiprocessor kernels...
-- Fernando
> On 8/30/06, Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> wrote:
> On Tue, 2006-08-29 at 23:37 -0400, Rich E wrote:
> > Hello,
> >
> > It seems this topic has been discussed a couple times, but I
> still
> > cannot find any clear directions for recompiling
> PlanetCCRMA's kernel
> > from source. This is necessary in my case because the
> PlanetCCRMA
> > kernel doesn't include the Wacom drivers from the
> Linux-Wacom project.
> > So (in Fedora) I have to throw in some source files from
> Linux-Wacom
> > and rebuild..
> >
> > They have some instructions for recompiling Fedora's kernel
> at
> >
> http://linuxwacom.sourceforge.net/index.php/howto/debwacomnosrc
> >
> > but this doesn't work for the PlanetCCRMA kernel. I get the
> sources,
> > rpm -ivh them and do:
> >
> > rpmbuild -bp
> --target=i686 /usr/src/redhat/SPECS/kernel.spec
> > Building target platforms: i686
> > Building for target i686
> > error: line 203: Dependency tokens must begin with
> alpha-numeric, '_'
> > or '/': Prereq: %{kernel_prereq}
>
> When building you have to define a macro according to the
> distro you
> want to build for (all in one line):
>
> rpmbuild -bp --define "fc5 1"
> --target=i686 /usr/src/redhat/SPECS/kernel.spec
>
> or "fc4 1" for fc4... (I use the same spec file for both
> distros)
>
> -- Fernando
>
>
> > It would be nice to have this process documented since, as
> Nando
> > mentions, there are still many patches that aren't included
> in the
> > PlanetCCRMA package. I would like to be able to work from
> this
> > package since it is well developed, but it would be nice to
> be able to
> > customize things also..
>
>
>