Re: Makefile gcc -o /dev/null: the dissapearing of /dev/null

J.H.M. Dassen (jdassen@cistron.nl)
Sat, 29 Sep 2001 18:36:42 +0000 (UTC)


Jim Treadway <jim@stardot-tech.com> wrote:
> On Sat, 29 Sep 2001, Jan-Benedict Glaw wrote:
>> No. Why? Well, the Linux kernel compiles just fine while being an
>> ordianary user.

> So then you can no longer 'make modules && make modules_install', or you
> have to cp or chown /usr/src/linux on a fresh install to compile your
> kernel? Doesn't sound pleasant to me.

I use that all the time, through the scripts in Debian's "kernel-package":
cd /usr/local/src/linux
cp /boot/config-some-recent-version .config
make oldconfig
fakeroot make-kpkg kernel_image modules_image
dpkg -i ../kernel-image...deb ../alsa-modules-...deb

I find this quite comfortable: I always know where to find old configs, have
a matching System.map installed, can clean up old kernels and modules easily
etc.

Ray

-- 
What is this talk of software 'releases'? Klingons do not 'release'
software; our software ESCAPES, leaving a bloody trail of designers and
quality assurance people in its wake!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/