lkml.org 
[lkml]   [1999]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Red Hat 6.1 version.h modifications
In article <cistron.Pine.LNX.3.96.991006115622.18769B-100000@kanga.kvack.org> you write:
>What I've seen of the snippets from RH6.1 is that it is done the right
>way. 6.0 got it wrong, earlier versions were mostly right (at least the
>.config options matched what was running). Debian's approach of leaving
>it to the user to fix is plain broken
>wasting support issues that need not exist. Users should be able to
>compile modules on a distribution out of the box if they've installed the
>needed packages, and not need to go around fixing things that
>distributions didn't implement correctly. I hope that is true of
>Mandrake.

Yes, and how is the 3rd party module going to find out if it has
to define -DMODVERSIONS and all the other options? It isn't.
There will always be some user intervention required.

I've also written some add-on kernel modules. They always come
with a clear README and a Makefile that looks like:


KERNELSRC = /usr/src/linux-2.2.12-pre8
CPU=-m486 -DCPU=486
VER=-DMODVERSIONS

OPTFLAGS = -malign-loops=0 -malign-jumps=0 -malign-functions=2 $(CPU)
WARNFLAGS = -Wall -Wstrict-prototypes -Wno-parentheses
CFLAGS = $(WARNFLAGS) -O2 -I$(KERNELSRC)/include $(OPTFLAGS)

The first 3 variables _have_ to be filled in by the user.

Mike.
--
First things first, but not necessarily in that order.

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.064 / U:1.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site