10000 do not attempt to build modules for kernels without CONFIG_VIDEO_V4L2 · v4l2loopback/v4l2loopback@4b05265 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b05265

Browse files
anbe42umlaeute
authored andcommitted
do not attempt to build modules for kernels without CONFIG_VIDEO_V4L2
Gbp-Pq: Name skip-without-CONFIG_VIDEO_V4L2.patch
1 parent f944932 commit 4b05265

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dkms.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
PACKAGE_NAME="v4l2loopback"
22
PACKAGE_VERSION="0.12.5"
33

4+
if [ -f $kernel_source_dir/.config ]; then
5+
. $kernel_source_dir/.config
6+
if [ "${CONFIG_VIDEO_V4L2:-n}" = "n" ]; then
7+
BUILD_EXCLUSIVE_KERNEL="REQUIRES CONFIG_VIDEO_V4L2"
8+
fi
9+
fi
10+
411
# Items below here should not have to change with each driver version
512
MAKE[0]="make KERNEL_DIR=${kernel_source_dir} all"
613
CLEAN="make clean"

0 commit comments

Comments
 (0)
0