diff options
Diffstat (limited to 'recipes-extended/odp/odp-module_git.bb')
| -rw-r--r-- | recipes-extended/odp/odp-module_git.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-extended/odp/odp-module_git.bb b/recipes-extended/odp/odp-module_git.bb new file mode 100644 index 000000000..46b896547 --- /dev/null +++ b/recipes-extended/odp/odp-module_git.bb | |||
| @@ -0,0 +1,16 @@ | |||
| 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}/kern | ||
| 9 | } | ||
| 10 | |||
| 11 | do_install () { | ||
| 12 | install -d ${D}/lib/modules/${KERNEL_VERSION}/odp | ||
| 13 | install -m 755 ${S}/kern/odpfsl_kni.ko ${D}/lib/modules/${KERNEL_VERSION}/odp | ||
| 14 | } | ||
| 15 | |||
| 16 | PKG_${PN} = "kernel-module-${PN}" | ||
