[pkg-nvidia-devel] r958 - in /packages/nvidia-graphics-modules/trunk/debian: changelog control.source rules

Russ Allbery rra at debian.org
Sun May 30 19:24:41 UTC 2010


anbe-guest at users.alioth.debian.org writes:

> @@ -62,12 +67,12 @@
>  .NOTPARALLEL:
>  binary-module-%: build binary-arch-meta
>  	set -e; cd modules/nvidia-kernel$(legacy); \
> -		KSRC=/usr/src/linux-headers-$* \
> +		KSRC=/lib/modules/$*/build \
>  			KVERS=$* \
> -			KERNEL_DEPENDS=y \
> +			KDREV=$(nks_debian_revision)+$(call get_package_version,linux-headers-$*) \
>  			KPKG_DEST_DIR=../.. \
>  			debian/rules binary_modules ; \
> -		KSRC=/usr/src/linux-headers-$* \
> +		KSRC=/lib/modules/$*/build \
>  			KVERS=$* \
>  			HAVECONFIG=y \
>  			debian/rules clean

Why this change?  I think it will always work with existing kernels, but
so should the other version.  Or does this fix the problem with not
finding the right kernel version number?

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>



More information about the Pkg-nvidia-devel mailing list