- TI PA Low Level Driver
Signed-off-by: Aravind Batni <[email protected]>
---
.../recipes-bsp/ti-pa/ti-pa-bin_git.bb | 33 ++++++++++++++++++++
.../recipes-bsp/ti-pa/ti-pa-lib_git.bb | 20 ++++++++++++
meta-arago-extras/recipes-bsp/ti-pa/ti-pa.inc | 10 ++++++
3 files changed, 63 insertions(+)
create mode 100644 meta-arago-extras/recipes-bsp/ti-pa/ti-pa-bin_git.bb
create mode 100644 meta-arago-extras/recipes-bsp/ti-pa/ti-pa-lib_git.bb
create mode 100644 meta-arago-extras/recipes-bsp/ti-pa/ti-pa.inc
diff --git a/meta-arago-extras/recipes-bsp/ti-pa/ti-pa-bin_git.bb
b/meta-arago-extras/recipes-bsp/ti-pa/ti-pa-bin_git.bb
new file mode 100644
index 0000000..ecfffc2
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-pa/ti-pa-bin_git.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "TI PA LLD unit test and example binaries"
+COMPATIBLE_MACHINE = "keystone"
+DEPENDS="ti-csl ti-pa-lib ti-cppi-lib ti-qmss-lib"
+
+include ti-pa.inc
+
+PR = "r0"
+
+DEVICELIST = "k2h k2k"
+
+CHOICELIST = "yes no"
+
+BASEDIR = "${WORKDIR}/git"
+S = "${BASEDIR}/ti/drv/pa"
+
+do_compile () {
+# Now build the lld unit test examples
+ for device in ${DEVICELIST}
+ do
+ make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
DEVICE="$device" PA_SRC_DIR=${S}
+ for choice in ${CHOICELIST}
+ do
+ make -f makefile_armv7 tests examples
PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S}
USEDYNAMIC_LIB="$choice"
+ done
+ done
+}
+
+do_install () {
+ for device in ${DEVICELIST}
+ do
+ make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR}
DEVICE="$device" PA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
+ done
+}
diff --git a/meta-arago-extras/recipes-bsp/ti-pa/ti-pa-lib_git.bb
b/meta-arago-extras/recipes-bsp/ti-pa/ti-pa-lib_git.bb
new file mode 100644
index 0000000..a549a99
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-pa/ti-pa-lib_git.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "TI PA LLD library"
+COMPATIBLE_MACHINE = "keystone"
+
+DEPENDS="ti-csl ti-rm"
+
+include ti-pa.inc
+
+PR = "r0"
+
+BASEDIR = "${WORKDIR}/git"
+S = "${BASEDIR}/ti/drv/pa"
+
+do_compile () {
+# Now build the lld in the updated directory
+ make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR}
+}
+
+do_install () {
+ make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR}
INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+}
diff --git a/meta-arago-extras/recipes-bsp/ti-pa/ti-pa.inc
b/meta-arago-extras/recipes-bsp/ti-pa/ti-pa.inc
new file mode 100644
index 0000000..134f1f2
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-pa/ti-pa.inc
@@ -0,0 +1,10 @@
+LICENSE = "TI BSD"
+LIC_FILES_CHKSUM =
"file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
+
+BRANCH="master"
+SRC_URI =
"git://git.ti.com/keystone-rtos/pa-lld.git;destsuffix=git/ti/drv/pa;protocol=git;branch=${BRANCH}"
+
+# Below Commit ID corresponds to "DEV.PA_LLD.02.00.01.05"
+SRCREV = "a8f42102a60528c36720c211ea457eecf20f8481"
+PV = "02.00.01.05"
+SRCREV = "DEV.PA_LLD.02.00.01.05"
--
1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago