summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-bsp/uio-module-drv/uio-module-drv_git.bb
blob: 2bb1f0b3aaaeff658fff6963df1c44c7be5d7d2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "User space IO (UIO) driver for on-chip modules"

include uio-module-drv.inc

FILESEXTRAPATHS:prepend:= "${THISDIR}/${PN}:"

SRC_URI += "file://0001-uio-module-drv-Replace-ioremap_nocache-with-ioremap.patch"

# This package builds a kernel module, use kernel PR as base and append a local
MACHINE_KERNEL_PR:append = "d"
PR = "${MACHINE_KERNEL_PR}"

module_auto_load_uio-module-drv = "uio-module-drv"

inherit module

do_install:append () {
    install -d ${D}${includedir}
    cp *.h ${D}${includedir}
}

KERNEL_MODULE_AUTOLOAD += "uio_module_drv"