Axel Thimm wrote:

On Thu, Jan 06, 2005 at 01:54:53PM +0100, Stefan van der Eijk wrote:


I'm trying to make a dkms rpm package of ivtv-0.2.0-rc3c. I've managed to build the package, but the dkms build fails because dkms uses the following command to build the modules:

  # make KERNELRELEASE=2.6.8.1-20mdk
  make: *** No targets specified and no makefile found.  Stop.


Seems that Makefile2.6 contains:

  ifneq ($(KERNELRELEASE),)


which seems to be block this. Is there an easy way to get round this?



Can you change the dkms build to not set KERNELRELEASE?

I guess I could, but this would require changing dkms.

I don't know why they do it this way. I didn't see any patches to my dkms installation that changed this, so it's the default dkms behaviour.

It seems that this changelog entry to dkms added the functionality.

http://www.lerhaupt.com/foo/archives/000145.html
* Kernel makefiles are no longer edited during kernel preparation. Instead KERNELRELEASE=$kernel_version is passed to make commands.


You should only set KDIR.


OK. then the KDIR points to the place where the kernel you want to build for is installed?

regards,

Stefan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to