diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-01-24 11:50:10 +0800 |
---|---|---|
committer | California Sullivan <california.l.sullivan@intel.com> | 2018-01-26 14:41:15 -0800 |
commit | cfb652a4b5e4ccc310b13974fe2d9b26754eb5c2 (patch) | |
tree | 99594ca181d68b3f392c42ef557e8f2dc1221d67 | |
parent | b6ae4a62ce914acf5df480b74cb4cb0accd14fb1 (diff) | |
download | meta-intel-qat-cfb652a4b5e4ccc310b13974fe2d9b26754eb5c2.tar.gz |
qat: disable for 4.14 linux-intel kernel
This version of qat driver has not been tested with 4.14 kernel
and results in compilation failures. Disable when building with
4.14.*.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
-rw-r--r-- | recipes-extended/qat/qat16.inc | 9 | ||||
-rw-r--r-- | recipes-extended/qat/qat17_1.0.3-42.bb | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/recipes-extended/qat/qat16.inc b/recipes-extended/qat/qat16.inc index ad117ba..9b5372e 100644 --- a/recipes-extended/qat/qat16.inc +++ b/recipes-extended/qat/qat16.inc | |||
@@ -121,3 +121,12 @@ FILES_${PN}-dbg += "${sysconfdir}/init.d/.debug" | |||
121 | FILES_${PN}-app += "${bindir}/*" | 121 | FILES_${PN}-app += "${bindir}/*" |
122 | 122 | ||
123 | EXCLUDE_FROM_WORLD_core2-32-intel-common = "1" | 123 | EXCLUDE_FROM_WORLD_core2-32-intel-common = "1" |
124 | |||
125 | # Support for 4.14 not yet available | ||
126 | python () { | ||
127 | if d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel" and \ | ||
128 | d.getVar("PREFERRED_VERSION_linux-intel") == "4.14%" or \ | ||
129 | d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel-rt" and \ | ||
130 | d.getVar("PREFERRED_VERSION_linux-intel-rt") == "4.14%": | ||
131 | raise bb.parse.SkipPackage("This version of QAT has not been tested with Linux Kernel 4.14 or newer.") | ||
132 | } | ||
diff --git a/recipes-extended/qat/qat17_1.0.3-42.bb b/recipes-extended/qat/qat17_1.0.3-42.bb index 548a715..4f6d35c 100644 --- a/recipes-extended/qat/qat17_1.0.3-42.bb +++ b/recipes-extended/qat/qat17_1.0.3-42.bb | |||
@@ -18,3 +18,12 @@ SRC_URI="https://01.org/sites/default/files/downloads/intelr-quickassist-technol | |||
18 | 18 | ||
19 | SRC_URI[md5sum] = "ee059cf134486f5684466555e8636ee0" | 19 | SRC_URI[md5sum] = "ee059cf134486f5684466555e8636ee0" |
20 | SRC_URI[sha256sum] = "84d2c4a242987548135274da7c3def31461af6f1b4beb74f519a993e854abf5b" | 20 | SRC_URI[sha256sum] = "84d2c4a242987548135274da7c3def31461af6f1b4beb74f519a993e854abf5b" |
21 | |||
22 | # Support for 4.14 not yet available | ||
23 | python () { | ||
24 | if d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel" and \ | ||
25 | d.getVar("PREFERRED_VERSION_linux-intel") == "4.14%" or \ | ||
26 | d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel-rt" and \ | ||
27 | d.getVar("PREFERRED_VERSION_linux-intel-rt") == "4.14%": | ||
28 | raise bb.parse.SkipPackage("This version of QAT has not been tested with Linux Kernel 4.14 or newer") | ||
29 | } | ||