Skip to content

Distro and Kernel compatibility #94

@agravgaard

Description

@agravgaard

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions