Skip to content

Commit

Permalink
Requires at least Linux 6.8 to compile (#32)
Browse files Browse the repository at this point in the history
Avoid breaking DKMS with older kernels on a system.
  • Loading branch information
keryell authored Apr 3, 2024
1 parent 9fdd169 commit 37961e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/driver/CMake/config/dkms.conf.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
PACKAGE_NAME=@XDNA_DKMS_PKG_NAME@
PACKAGE_VERSION="@XRT_PLUGIN_VERSION_STRING@"
# Requires at least Linux 6.8 to compile
BUILD_EXCLUSIVE_KERNEL_MIN=6.8
MAKE[0]="cd driver/@XDNA_DRV_DIR@; make KERNEL_SRC=${kernel_source_dir}; cd ../.."
CLEAN="cd driver/@XDNA_DRV_DIR@; make clean KERNEL_SRC=${kernel_source_dir}; cd ../.."
BUILT_MODULE_NAME[0]=@XDNA_DRV@
Expand Down

0 comments on commit 37961e1

Please sign in to comment.