summaryrefslogtreecommitdiffstats
path: root/bsp/meta-ti/recipes-bsp/pruss-lld/pruss-lld_git.bb
blob: 5b0a257694e4d5abf80e87ab966d7d4bcad77912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "TI PRUSS low level driver library"

DEPENDS = "common-csl-ip osal"

include pruss-lld.inc

PR = "${INC_PR}.2"

S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"

EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"

do_compile () {
#   Build the lib
    oe_runmake clean
    oe_runmake lib
}

do_install () {
#   Install the lib
    oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
    chown -R root:root ${D}
}