[pkg-nvidia-devel] Bug#520706: nvidia-kernel-source: It is a KERNEL_SOURCE vs KERNEL_OUTPUT issue
Itaï BEN YAACOV
candeb at free.fr
Mon Apr 6 08:19:33 UTC 2009
Package: nvidia-kernel-source
Version: 180.29-1
Severity: normal
After looking for several complicated solutions I found a relatively easy one -
(after copying the Makefile_32.cpu file of course)
you just need to set the KERNEL_SOURCES to the -common directory and
KERNEL_OUTPUT to the -686 (in my case) directory.
For example, I did something ugly like defining KCOM to the -common dir and
then modifying the debian/rules file to
IGNORE_CC_MISMATCH=1 CC="$(CC)" $(MAKE) -C $(CURDIR)/$(dirname) -f Makefile SYSSRC=$(KCOM) KERNEL_OUTPUT=$(KSRC) $(KPKG_EXTRAV_ARG) KBUILD_PARAMS=$(KBUILD_PARAMS) module;
the debian/rules file can probably be modified more intelligently to figure the -common dir from the
flavoured headers dir by itself. In any case, this worked for me...
Cheers,
Itai.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nvidia-kernel-source depends on:
ii debhelper 7.2.7 helper programs for debian/rules
ii dpatch 2.0.31 patch maintenance system for Debia
ii make 3.81-5 The GNU version of the "make" util
ii sed 4.1.5-8 The GNU sed stream editor
Versions of packages nvidia-kernel-source recommends:
ii devscripts 2.10.47 scripts to make the life of a Debi
ii kernel-package 11.017 A utility for building Linux kerne
pn nvidia-glx <none> (no description available)
nvidia-kernel-source suggests no packages.
-- no debconf information
More information about the Pkg-nvidia-devel
mailing list