DisplayLink / evdi

Extensible Virtual Display Interface
MIT License
689 stars 179 forks source link

Update some kernel version checks to allow for EL8 and EL9 builds #407

Closed elguero closed 1 year ago

scaronni commented 1 year ago

Does not work on el8 on the latest evdi code:

make: Entering directory '/usr/src/kernels/4.18.0-425.13.1.el8_7.x86_64'
  CC [M]  /builddir/build/BUILD/evdi-1.13.0/module/evdi_platform_drv.o
gcc: warning: include/drm: linker input file unused because linking not done
  CC [M]  /builddir/build/BUILD/evdi-1.13.0/module/evdi_platform_dev.o
In file included from /builddir/build/BUILD/evdi-1.13.0/module/evdi_platform_dev.c:27:
/builddir/build/BUILD/evdi-1.13.0/module/evdi_drm_drv.h:32:10: fatal error: drm/drm_irq.h: No such file or directory
 #include <drm/drm_irq.h>
          ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.build:318: /builddir/build/BUILD/evdi-1.13.0/module/evdi_platform_dev.o] Error 1
make: Leaving directory '/usr/src/kernels/4.18.0-425.13.1.el8_7.x86_64'
make: *** [Makefile:1585: _module_/builddir/build/BUILD/evdi-1.13.0/module] Error 2

Works fine on el9, though.

elguero commented 1 year ago

@scaronni Thanks for testing. I closed this PR to rebase it with the latest changes in devel. A new PR is at #418