diff -pruN 3.4.0+dfsg-1/debian/changelog 3.4.0+dfsg-1ubuntu1/debian/changelog
--- 3.4.0+dfsg-1/debian/changelog	2022-08-04 20:45:29.000000000 +0000
+++ 3.4.0+dfsg-1ubuntu1/debian/changelog	2022-08-24 15:03:51.000000000 +0000
@@ -1,3 +1,10 @@
+openrazer (3.4.0+dfsg-1ubuntu1) kinetic; urgency=medium
+
+  * Declare BUILD_EXCLUSIVE_CONFIG="CONFIG_HIDRAW" to prevent building the
+    module on incompatible kernels (i.e. s390x).
+
+ -- Dimitri John Ledkov <dimitri.ledkov@canonical.com>  Wed, 24 Aug 2022 16:03:51 +0100
+
 openrazer (3.4.0+dfsg-1) unstable; urgency=medium
 
   * New upstream version
diff -pruN 3.4.0+dfsg-1/debian/control 3.4.0+dfsg-1ubuntu1/debian/control
--- 3.4.0+dfsg-1/debian/control	2022-08-04 20:45:29.000000000 +0000
+++ 3.4.0+dfsg-1ubuntu1/debian/control	2022-08-24 15:03:51.000000000 +0000
@@ -1,5 +1,6 @@
 Source: openrazer
-Maintainer: Dylan Aïssi <daissi@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Dylan Aïssi <daissi@debian.org>
 Section: misc
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
diff -pruN 3.4.0+dfsg-1/debian/patches/build-exclusive-config.patch 3.4.0+dfsg-1ubuntu1/debian/patches/build-exclusive-config.patch
--- 3.4.0+dfsg-1/debian/patches/build-exclusive-config.patch	1970-01-01 00:00:00.000000000 +0000
+++ 3.4.0+dfsg-1ubuntu1/debian/patches/build-exclusive-config.patch	2022-08-24 15:03:51.000000000 +0000
@@ -0,0 +1,15 @@
+Description: prevent building the module on incompatible kernels (i.e. s390x).
+Author: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
+
+
+--- openrazer-3.4.0+dfsg.orig/install_files/dkms/dkms.conf
++++ openrazer-3.4.0+dfsg/install_files/dkms/dkms.conf
+@@ -3,6 +3,8 @@ PACKAGE_VERSION="3.4.0"
+ AUTOINSTALL="yes"
+ MAKE="KERNELDIR=/lib/modules/${kernelver}/build make driver"
+ 
++BUILD_EXCLUSIVE_CONFIG="CONFIG_HIDRAW"
++
+ BUILT_MODULE_NAME[0]="razerkbd"
+ BUILT_MODULE_NAME[1]="razermouse"
+ BUILT_MODULE_NAME[2]="razerkraken"
diff -pruN 3.4.0+dfsg-1/debian/patches/series 3.4.0+dfsg-1ubuntu1/debian/patches/series
--- 3.4.0+dfsg-1/debian/patches/series	2022-08-04 20:45:29.000000000 +0000
+++ 3.4.0+dfsg-1ubuntu1/debian/patches/series	2022-08-24 15:03:51.000000000 +0000
@@ -1 +1,2 @@
 0001-usb-hid-disabled-builds.patch
+build-exclusive-config.patch
