summaryrefslogtreecommitdiffstats
path: root/recipes-extended/odp/odp-module_git.bb
blob: 46b896547a91039d3ed2a1df0e4248df48bdb4d2 (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}"