summaryrefslogtreecommitdiffstats
path: root/recipes-extended/odp/odp-counters_git.bb
blob: 860dd5faf450fdb0916cab2ae6c7bd20d0dc8887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require odp.inc

inherit module

do_compile_prepend () {
    export KERNEL_PATH="${STAGING_KERNEL_DIR}"
    export KERNEL_CFG_PATH="${STAGING_KERNEL_BUILDDIR}"
    cd ${S}/test/debug/perf_counters
}

do_install () {
    install -d ${D}/lib/modules/${KERNEL_VERSION}/odp
    install -m 755 ${S}/test/debug/perf_counters/odpfsl_perfcounters.ko ${D}/lib/modules/${KERNEL_VERSION}/odp
}