Linux-kernel mailing list archive 1998-10,: Re: Linux version code

# Re: Linux version code

Michael Elizabeth Chastain (mec@shout.net)
Mon, 9 Mar 1998 13:34:17 -0600

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Philip Blundell: "Re: egcs 1.0.1 miscompiles Linux 2.0.33"
- Previous message: Ian Eure: "Re: 2.0.34pre3"

Hi Paul,

> --- linux-2.1.88-raw/Makefile Sun Mar 8 13:55:03 1998
> +++ linux-2.1.88/Makefile Fri Feb 27 10:56:50 1998
> @@ -262,6 +262,7 @@
> include/linux/version.h: ./Makefile
> @echo \#define UTS_RELEASE \"$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)\" > .ver
> @echo \#define LINUX_VERSION_CODE `expr $(VERSION) \\* 65536 + $(PATCHLEVEL) \\* 256 + $(SUBLEVEL)` >> .ver
> + @echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))' >>.ver
> @mv -f .ver $@
This looks like a good idea to me, because there are dozens of places
that use their own private macro to do the same thing. I hope Linus
accepts it.

I don't have time to build a kernel with it, but I proofread it. :)

Regards,

Michael Chastain
<mailto:mec@shout.net>
"love without fear"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

- Next message: Philip Blundell: "Re: egcs 1.0.1 miscompiles Linux 2.0.33"
- Previous message: Ian Eure: "Re: 2.0.34pre3"