aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/cryptodev/cryptodev-module_%.bbappend
blob: b5b56f01f3b99214406c914ecb7c0881ea749bdf (plain)
1
2
3
4
5
6
7
8
9
10
11
FILESEXTRAPATHS_prepend_intel-x86-common := "${THISDIR}/${PN}:"

SRC_URI_append_intel-x86-common = " file://0001-ioctl.c-Fix-build-with-linux-4.13.patch"

python() {
    # When we add more kernels for linux-intel, we may have to add a Version check
    if (d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel"):
        src_uri = d.getVar("SRC_URI")
        d.setVar("SRC_URI", src_uri +
             " file://0001-zc-Force-4.10-get_user_pages_remote-API.patch")
}