Messages in this thread | | | From | Miquel van Smoorenburg <> | Date | Wed, 6 Oct 1999 20:13:27 +0200 | Subject | Re: 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/
| |