$ git diff --patch-with-stat --summary 07674f8fb7c3b4780de1d3cc499e8701bca26d92..60d4a0d512217dadcebbbde9775afe0f90ac08af
.abf.yml | 2 +-
kernel-4.14-K70LUX.patch | 12 ++++++++++++
kernel-release.spec | 25 ++++++++++++++-----------
3 files changed, 27 insertions(+), 12 deletions(-)
create mode 100644 kernel-4.14-K70LUX.patch
diff --git a/.abf.yml b/.abf.yml
index 186903f..0fd770d 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -2,4 +2,4 @@ sources:
linux-4.13.tar.sign: ff052ff4e9de27e0333bce9e13791eb7c961e4b8
linux-4.13.tar.xz: 39a4e912707c3c646967bbde684d7102d584e45a
saa716x-driver.tar.xz: 749b8fda1add18abc81c7bb369414c7fec8b6dbe
- patch-4.13.10.xz: 7dec1e02d52f42423427e9277da3a5e9feac1a45
+ patch-4.13.11.xz: f4ac202970fe7e5466ac5cda08b3ee879f80b920
diff --git a/kernel-4.14-K70LUX.patch b/kernel-4.14-K70LUX.patch
new file mode 100644
index 0000000..fa76d79
--- /dev/null
+++ b/kernel-4.14-K70LUX.patch
@@ -0,0 +1,12 @@
+--- linux-4.13/drivers/usb/core/quirks.c.omv~ 2017-11-02 20:28:55.104625978 +0100
++++ linux-4.13/drivers/usb/core/quirks.c 2017-11-02 20:29:54.184437806 +0100
+@@ -221,6 +221,9 @@ static const struct usb_device_id usb_qu
+ /* Corsair Strafe RGB */
+ { USB_DEVICE(0x1b1c, 0x1b20), .driver_info = USB_QUIRK_DELAY_INIT },
+
++ /* Corsair K70 LUX */
++ { USB_DEVICE(0x1b1c, 0x1b36), .driver_info = USB_QUIRK_DELAY_INIT },
++
+ /* MIDI keyboard WORLDE MINI */
+ { USB_DEVICE(0x1c75, 0x0204), .driver_info =
+ USB_QUIRK_CONFIG_INTF_STRINGS },
diff --git a/kernel-release.spec b/kernel-release.spec
index 4476808..9b6d966 100644
--- a/kernel-release.spec
+++ b/kernel-release.spec
@@ -6,7 +6,7 @@
# compose tar.xz name and release
%define kernelversion 4
%define patchlevel 13
-%define sublevel 10
+%define sublevel 11
%define relc %{nil}
%define buildrel %{kversion}-%{buildrpmrel}
@@ -272,6 +272,7 @@ Patch145: saa716x-driver-integration.patch
# NOT YET
#Patch201: 0002-binder-implement-namepsace-support-for-Android-binde.patch
Patch250: 4.12.10-C11.patch
+Patch251: kernel-4.14-K70LUX.patch
%if %{with clr}
# (tpg) some patches from ClearLinux
@@ -366,6 +367,9 @@ BuildRequires: pciutils-devel
BuildRequires: xmlto
%endif
+# for ORC unwinder and perf
+BuildRequires: pkgconfig(libelf)
+
# for perf
%if %{with build_perf}
BuildRequires: asciidoc
@@ -373,7 +377,6 @@ BuildRequires: audit-devel
BuildRequires: binutils-devel
BuildRequires: bison
# BuildRequires: docbook-style-xsl
-BuildRequires: elfutils-devel
BuildRequires: flex
# BuildRequires: gettext
# BuildRequires: gtk2-devel
@@ -398,8 +401,8 @@ Suggests: microcode-intel
# get compiler error messages on failures)
%if %mdvver >= 3000000
%ifarch %{ix86} x86_64
-BuildRequires: dkms-virtualbox >= 5.1.26-1
-BuildRequires: dkms-vboxadditions >= 5.1.26-1
+BuildRequires: dkms-virtualbox >= 5.2.0-1
+BuildRequires: dkms-vboxadditions >= 5.2.0-1
%endif
%endif
@@ -792,39 +795,39 @@ cp -a $(ls --sort=time -1d /usr/src/vboxadditions-*|head -n1)/vboxvideo drivers/
# fit into that anymore
sed -i -e 's|800, 600|1024, 768|g' drivers/gpu/drm/vboxvideo/vbox_mode.c
sed -i -e 's,\$(KBUILD_EXTMOD),drivers/gpu/drm/vboxvideo,g' drivers/gpu/drm/vboxvideo/Makefile*
-sed -i -e "/uname -m/iKERN_DIR=$(pwd)" drivers/gpu/drm/vboxvideo/Makefile*
+sed -i -e "s,^KERN_DIR.*,KERN_DIR := $(pwd)," drivers/gpu/drm/vboxvideo/Makefile*
echo 'obj-m += vboxvideo/' >>drivers/gpu/drm/Makefile
# VirtualBox shared folders
cp -a $(ls --sort=time -1d /usr/src/vboxadditions-*|head -n1)/vboxsf fs/
sed -i -e 's,\$(KBUILD_EXTMOD),fs/vboxsf,g' fs/vboxsf/Makefile*
-sed -i -e "/uname -m/iKERN_DIR=$(pwd)" fs/vboxsf/Makefile*
+sed -i -e "s,^KERN_DIR.*,KERN_DIR := $(pwd)," fs/vboxsf/Makefile*
echo 'obj-m += vboxsf/' >>fs/Makefile
# VirtualBox Guest-side communication
cp -a $(ls --sort=time -1d /usr/src/vboxadditions-*|head -n1)/vboxguest drivers/bus/
sed -i -e 's,\$(KBUILD_EXTMOD),drivers/bus/vboxguest,g' drivers/bus/vboxguest/Makefile*
-sed -i -e "/uname -m/iKERN_DIR=$(pwd)" drivers/bus/vboxguest/Makefile*
+sed -i -e "s,^KERN_DIR.*,KERN_DIR := $(pwd)," drivers/bus/vboxguest/Makefile*
echo 'obj-m += vboxguest/' >>drivers/bus/Makefile
# === VirtualBox host modules ===
# VirtualBox
cp -a $(ls --sort=time -1d /usr/src/virtualbox-*|head -n1)/vboxdrv drivers/virt/
sed -i -e 's,\$(KBUILD_EXTMOD),drivers/virt/vboxdrv,g' drivers/virt/vboxdrv/Makefile*
-sed -i -e "/override MODULE/iKERN_DIR=$(pwd)" drivers/virt/vboxdrv/Makefile*
+sed -i -e "s,^KERN_DIR.*,KERN_DIR := $(pwd)," drivers/virt/vboxdrv/Makefile*
echo 'obj-m += vboxdrv/' >>drivers/virt/Makefile
# VirtualBox network adapter
cp -a $(ls --sort=time -1d /usr/src/virtualbox-*|head -n1)/vboxnetadp drivers/net/
sed -i -e 's,\$(KBUILD_EXTMOD),drivers/net/vboxnetadp,g' drivers/net/vboxnetadp/Makefile*
-sed -i -e "/uname -m/iKERN_DIR=$(pwd)" drivers/net/vboxnetadp/Makefile*
+sed -i -e "s,^KERN_DIR.*,KERN_DIR := $(pwd)," drivers/net/vboxnetadp/Makefile*
echo 'obj-m += vboxnetadp/' >>drivers/net/Makefile
# VirtualBox network filter
cp -a $(ls --sort=time -1d /usr/src/virtualbox-*|head -n1)/vboxnetflt drivers/net/
sed -i -e 's,\$(KBUILD_EXTMOD),drivers/net/vboxnetflt,g' drivers/net/vboxnetflt/Makefile*
-sed -i -e "/uname -m/iKERN_DIR=$(pwd)" drivers/net/vboxnetflt/Makefile*
+sed -i -e "s,^KERN_DIR.*,KERN_DIR := $(pwd)," drivers/net/vboxnetflt/Makefile*
echo 'obj-m += vboxnetflt/' >>drivers/net/Makefile
# VirtualBox PCI
cp -a $(ls --sort=time -1d /usr/src/virtualbox-*|head -n1)/vboxpci drivers/pci/
sed -i -e 's,\$(KBUILD_EXTMOD),drivers/pci/vboxpci,g' drivers/pci/vboxpci/Makefile*
-sed -i -e "/uname -m/iKERN_DIR=$(pwd)" drivers/pci/vboxpci/Makefile*
+sed -i -e "s,^KERN_DIR.*,KERN_DIR := $(pwd)," drivers/pci/vboxpci/Makefile*
echo 'obj-m += vboxpci/' >>drivers/pci/Makefile
%endif
%endif