[Pkg-dkms-maint] Bug#553625: Bug#553625: dkms: KERNELRELEASE is silently added to MAKE[#]
Ben Hutchings
ben at decadent.org.uk
Sun Nov 1 15:46:40 UTC 2009
On Sun, 2009-11-01 at 10:24 -0500, Frédéric Brière wrote:
> Package: dkms
> Version: 2.1.0.1-1
> Severity: normal
>
> The documentation seems to imply that MAKE[#] is just the regular make
> invocation for building the module. It fails to mention that
> KERNELRELEASE will be forcibly added, thus breaking a typical modules
> Makefile if invoked directly:
>
> ifneq ($(KERNELRELEASE),)
> # Define obj-m and such
> else
> # Invoke $(MAKE) M=... on the kernel source
> endif
>
>
> Defining MAKE[#] as "make ..." (instead of "make -C ${kernel_source_dir}
> ...") will simply not work, which confused the hell out of me for a
> while.
As a workaround, you can quote the command 'make'.
Ben.
--
Ben Hutchings
The generation of random numbers is too important to be left to chance.
- Robert Coveyou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20091101/6e8472fc/attachment.pgp>
More information about the Pkg-dkms-maint
mailing list