diff options
Diffstat (limited to 'recipes-extended/odp/odp-counters_git.bb')
| -rw-r--r-- | recipes-extended/odp/odp-counters_git.bb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-extended/odp/odp-counters_git.bb b/recipes-extended/odp/odp-counters_git.bb new file mode 100644 index 000000000..860dd5faf --- /dev/null +++ b/recipes-extended/odp/odp-counters_git.bb | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | require odp.inc | ||
| 2 | |||
| 3 | inherit module | ||
| 4 | |||
| 5 | do_compile_prepend () { | ||
| 6 | export KERNEL_PATH="${STAGING_KERNEL_DIR}" | ||
| 7 | export KERNEL_CFG_PATH="${STAGING_KERNEL_BUILDDIR}" | ||
| 8 | cd ${S}/test/debug/perf_counters | ||
| 9 | } | ||
| 10 | |||
| 11 | do_install () { | ||
| 12 | install -d ${D}/lib/modules/${KERNEL_VERSION}/odp | ||
| 13 | install -m 755 ${S}/test/debug/perf_counters/odpfsl_perfcounters.ko ${D}/lib/modules/${KERNEL_VERSION}/odp | ||
| 14 | } | ||
