aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ti-extras/recipes-ti/osal/ti-osal.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ti-extras/recipes-ti/osal/ti-osal.inc')
-rw-r--r--meta-ti-extras/recipes-ti/osal/ti-osal.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-ti-extras/recipes-ti/osal/ti-osal.inc b/meta-ti-extras/recipes-ti/osal/ti-osal.inc
new file mode 100644
index 00000000..b0470793
--- /dev/null
+++ b/meta-ti-extras/recipes-ti/osal/ti-osal.inc
@@ -0,0 +1,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 = "(.*)"