summaryrefslogtreecommitdiffstats
path: root/recipes-extended/odp/odp-module_git.bb
blob: 0748e5bf5441a861ab2fa22d6a6818021a1c7d89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require odp.inc

inherit module

do_compile:prepend () {
    export KERNEL_PATH="${STAGING_KERNEL_DIR}"
    export KERNEL_CFG_PATH="${STAGING_KERNEL_BUILDDIR}"
    cd ${S}/kern
}

do_install () {
    install -d ${D}/lib/modules/${KERNEL_VERSION}/odp
    install -m 755 ${S}/kern/odpfsl_kni.ko ${D}/lib/modules/${KERNEL_VERSION}/odp
}

PKG:${PN} = "kernel-module-${PN}"