ROCK-Kernel-Driver icon indicating copy to clipboard operation
ROCK-Kernel-Driver copied to clipboard

Distro and Kernel compatibility

Open agravgaard opened this issue 5 years ago • 0 comments

1: Unhandled linux distributions

DRM_VER will only be defined for a hardcoded selection of OS names. For an OS name is not in that selection the dkms compilation will fail, i.e. the OS_NAME = "unknown" case. However, by providing a default (e.g. in a final else condition of the dkms Makefile) would solve this for most linux distributions. A suggestion for this change is in #95 commit 8d62d90

The default would just be the same case as under some other OS names. Assuming that $(kdir) is defined and that it contains a Makefile with VERSION and PATCHLEVEL

2: 5.7+ Kernel

The above suggested change (see #95 ) allows successful dkms compile with 4.19 and 5.6 but not 5.7 Because pci_platform_rom was removed in 5.7

So I would like to request that the upstream changes for 5.7, i.e. the linked commit, would be merged into ROCk. As in #95 commit 3630276

Relevant issues and pull requests:

agravgaard avatar Jun 14 '20 11:06 agravgaard