summaryrefslogtreecommitdiffstats
path: root/meta-ti-extras/recipes-ti/osal/ti-osal.inc
blob: b0470793c18926578250e8107af2e8f00cebfd9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DESCRIPTION = "TI Operating System Abstraction Library (OSAL)"
HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/osal"
LICENSE = "BSD-3-Clause & EPL-1.0"
SECTION = "devel"

require ../includes/ti-paths.inc
require ../includes/ti-staging.inc

S = "${WORKDIR}/osal_${PV}"

SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/osal/${PV}/exports/osal_${PV}.tar.gz;name=osaltarball"

do_install() {
    install -d ${D}${OSAL_INSTALL_DIR_RECIPE}
    cp -pPrf ${S}/* ${D}${OSAL_INSTALL_DIR_RECIPE}
}

INSANE_SKIP:${PN}-dev = "staticdev"

ALLOW_EMPTY:${PN} = "1"
FILES:${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}"

COMPATIBLE_HOST ?= "null"
COMPATIBLE_HOST:ti-soc = "(.*)"