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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Pkg-dkms-maint mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-dkms-maint

Reply via email to