[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771339: linux: linux-headers 3.16 Makefile contains VERSION=2 PATCHLEVEL=6



On Tue, 2019-06-11 at 17:01 +0200, Fab Stz wrote:
> Source: linux
> Version: 4.9.0 or 4.19... probably any
> Followup-For: Bug #771339
> 
> Dear Maintainer,
> 
> This bug still exists in linux 4.9 and 4.19 (stretch, stretch-backports and
> also buster)
> 
> Like the first reporter, I tried compiling the amdgpu driver provided by AMD
> (through DKMS) and it is searching for the kernel version in that file.
> 
> As a workaroung in the meantime, I manually set VERSION to 4 and PATCHLEVEL to
> 19 in /usr/src/linux-headers-4.9.0-9-amd64/Makefile
> or the equivalent for 4.19

They should be using "make kernelversion" instead of looking for
variable assignments the Makefile.

This is not even a Debian-specific problem any more.  Looking for
variable assignments in the Makefile will break whenever the kernel is
built out-of-tree (since Linux 4.20).

Ben.

-- 
Ben Hutchings
For every complex problem
there is a solution that is simple, neat, and wrong.


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


Reply to: