Re: Red Hat 6.1 version.h modifications
H. Peter Anvin (hpa@transmeta.com)
11 Oct 1999 05:14:19 GMT
Followup to: <7tqk9s$hjl$1@defiant.cistron.net>
By author: miquels@cistron.nl (Miquel van Smoorenburg)
In newsgroup: linux.dev.kernel
>
> Why not simply place the Makefile fragment in /usr/src/linux/include.
> You could then write module Makefiles like this:
>
> # Point to the kernel you're building for
> KERNEL = /usr/src/linux-2.5.1
>
> include $(KERNEL)/options.mak
>
> CFLAGS := -I$(KERNEL)/include $(CFLAGS)
>
I actually implemented this quite a while ago, but the patch got
rejected. I haven't asked Linus why.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/