summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/recipes-kernel/cryptodev/cryptodev-module_%.bbappend6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/recipes-kernel/cryptodev/cryptodev-module_%.bbappend b/common/recipes-kernel/cryptodev/cryptodev-module_%.bbappend
index cf4863ca..91362290 100644
--- a/common/recipes-kernel/cryptodev/cryptodev-module_%.bbappend
+++ b/common/recipes-kernel/cryptodev/cryptodev-module_%.bbappend
@@ -1,9 +1,9 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2 2
3python() { 3python() {
4 if ((d.getVar("PREFERRED_PROVIDER_virtual/kernel").startswith("linux-intel")) and 4 # When we add more kernels for linux-intel, we may have to add a Version check
5 (d.getVar("PREFERRED_VERSION_linux-intel").startswith("4.9"))): 5 if (d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel"):
6 src_uri = d.getVar("SRC_URI") 6 src_uri = d.getVar("SRC_URI")
7 d.setVar("SRC_URI", src_uri + 7 d.setVar("SRC_URI", src_uri +
8 " file://0001-zc-Force-4.10-get_user_pages_remote-API.patch") 8 " file://0001-zc-Force-4.10-get_user_pages_remote-API.patch")
9} 9}