From: Dan Weeks <danimal@blueskystudios.com>
Subject: Patching the Kernel (Was: Re: LX164 Alpha 533Mhz)
Date: Thu, 29 Jan 1998 10:18:50 -0500 [thread overview]
Message-ID: <199801291518.KAA14631@harrison.blueskyprod.com> (raw)
In-Reply-To: <199801291504.KAA00670@linux03.amt.tay1.dec.com>
Jay.Estabrook@digital.com writes:
>
> >>> Johan Almqvist said:
> >
> > Applying the patch can be somewhat tricky, though: I need to have dirs
> > (symlinks) called /usr/src/new/ and /usr/src/old/ and /usr/src/linux/
> > all pointing at /usr/src/linux-2.0.33/ for it to apply correctly. This
> > seems weird, but the kernel's a rock. Even my tulip worked with the stock
> > driver.
>
> As has been mentioned before on axp-list (do I hear an echo? :-), it is NOT
> recommended that building of a custom kernel based on alpha-patches take
> place in /usr/src/linux, as the patched headers will replace the "tuned" Red
> Hat headers for application builds, and may cause headaches and shortness of
> breath... ;-}
So, if when compiling the kernel we get the -D__KERNEL__ flag why can't
the headers be set up to have one set of values for kernel compiles
and another set for regular compiles like so:
example------------------------------------------
/* blah.h
* blah blah, blah blah blah blah
* blah blort blat blah
*/
#ifdef __KERNEL__
/* place kernel modified header stuff here */
#else
/* place stuff for normal compiles here */
#endif
end-----------------------------------------------
or will this break. I am guessing (and most likley making a fool of
myself) that this will work and if it does it would mean that you
could build the kernel and other apps with the same include files and
not have to worry if one set or the other is out of date or not.
-danimal
--
Dan Weeks <danimal@blueskystudios.com>
Blue Sky|VIFX http://www.blueskystudios.com/ http://www.vifx.com/
Harrison, New York 914/381.8400 - Los Angeles, California 310/822.8872
Linux: The Choice of a GNU Generation
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1998-01-29 15:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.96.980129131130.23800A-100000@bartlet.df.lth.se>
1998-01-29 5:04 ` LX164 Alpha 533Mhz Jay.Estabrook
1998-01-29 15:18 ` Dan Weeks [this message]
1998-01-29 15:37 Patching the Kernel (Was: Re: LX164 Alpha 533Mhz) Tommy Cheung
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox