[Pkg-dkms-maint] Bug#553625: dkms: KERNELRELEASE is silently added to MAKE[#]
Frédéric Brière
fbriere at fbriere.net
Sun Nov 1 15:24:23 UTC 2009
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.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26.8 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dkms depends on:
ii build-essential 11.4 Informational list of build-essent
ii dpkg-dev 1.15.4.1 Debian package development tools
ii gcc 4:4.3.3-9+nmu1 The GNU C compiler
ii make 3.81-6 An utility for Directing compilati
ii module-init-tools 3.11-1 tools for managing Linux kernel mo
Versions of packages dkms recommends:
ii fakeroot 1.14.3 Gives a fake root environment
ii linux-headers-2.6. 2.6.26.8-10.00.Custom Header files related to Linux kern
ii linux-image-2.6.26 2.6.26.8-10.00.Custom Linux kernel binary image for vers
ii lsb-release 3.2-23 Linux Standard Base version report
ii menu 2.1.42 generates programs menu for all me
ii patch 2.5.9-5 Apply a diff file to an original
ii sudo 1.7.2p1-1 Provide limited super user privile
dkms suggests no packages.
-- no debconf information
More information about the Pkg-dkms-maint
mailing list