diff options
Diffstat (limited to 'recipes-bsp/hplib/hplib-mod_git.bb')
-rw-r--r-- | recipes-bsp/hplib/hplib-mod_git.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-bsp/hplib/hplib-mod_git.bb b/recipes-bsp/hplib/hplib-mod_git.bb new file mode 100644 index 00000000..acef1ce5 --- /dev/null +++ b/recipes-bsp/hplib/hplib-mod_git.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | DESCRIPTION = "TI High Performance Library kernel module" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/module/COPYING.txt;md5=c1c4d3453cddc5b7f0ce84a277e66779" | ||
4 | |||
5 | DEPENDS = "hplib" | ||
6 | |||
7 | include hplib.inc | ||
8 | |||
9 | # This package builds a kernel module, use kernel PR as base and append a local | ||
10 | MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}" | ||
11 | PR = "${MACHINE_KERNEL_PR}" | ||
12 | |||
13 | S ="${WORKDIR}/git/ti/runtime/hplib/module" | ||
14 | EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR} PDK_INSTALL_PATH=${STAGING_INCDIR}" | ||
15 | |||
16 | inherit module | ||
17 | |||
18 | do_install () { | ||
19 | oe_runmake install INSTALL_MOD_PATH="${D}" | ||
20 | } | ||