diff options
| author | Chunrong Guo <chunrong.guo@nxp.com> | 2017-04-20 17:23:23 +0800 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-05-02 17:54:58 -0300 |
| commit | 382b4195ce40ef4f6d406d94d7aa3a68396fc8a8 (patch) | |
| tree | e0a21d5d480af714f016f80d79c7e1cc9b2c6bb9 /recipes-extended/odp/odp-counters_git.bb | |
| parent | fc4edb4833ef2c9fec4890fac129cb87ca4e0dc7 (diff) | |
| download | meta-freescale-382b4195ce40ef4f6d406d94d7aa3a68396fc8a8.tar.gz | |
odp: add recipes
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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 | } | ||
