[Prism54-devel] Re: Add depmod to Makefile

Margit Schubert-While msw@sim-basis.de
Wed, 19 May 2004 14:50:09 +0200


 >Margit will hopefully appreciate that KVER doesn't need to be overridden.
She does :-)

The correct way to do it is to use version.h
Some distro's make changes to the default Makefile,
so, eg:
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 4
EXTRAVERSION = -$(shell echo $(CONFIG_RELEASE)-$(CONFIG_CFGNAME))

In version.h, however, we should have the correct name.
(eg. #define UTS_RELEASE "2.6.4-1-margit")
Can you put up an amended patch ?
One other nitpick - Can you take out the absolute path for depmod.
So just "depmod" instead of "/sbin/depmod".

Oh, and incidentally, a good distro will check if a depmod is needed
as part of the boot process. (admittedly, a little late if anything is 
wrong)

Margit