Skip to contentSkip to conversation

Sam Nelson : uio-test-pruss: Update to fix issue with make

PATCH Arago Project git 1 participant 1 message Feb 10, 2017

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: morty
Commit: 84b5d97201a2911c998a82cf3bed7a8eeb7dd3c3
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=84b5d97201a2911c998a82cf3bed7a8eeb7dd3c3
Author: Sam Nelson <[email protected]>
Date:   Thu Feb  9 03:51:10 2017 +0000

uio-test-pruss: Update to fix issue with make

Add device option to build for specific device
Make package Machine dependent

---

 recipes-ti/uio-test-pruss/uio-test-pruss_git.bb |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
recipes-ti/uio-test-pruss/uio-test-pruss_git.bb +11 -3
index 0a82d63..a342fe3 100644
@@ -11,11 +11,19 @@ BRANCH = "master"
 SRC_URI = "git://git.ti.com/processor-sdk/uio-test-pruss.git;protocol=git;branch=${BRANCH}"
 LIC_FILES_CHKSUM = "file://Makefile;startline=1;endline=31;md5=0ee4f2c42eb6b04e37859bb55a18b144"
 
-# Corresponds to version 01.00.00.00
-SRCREV = "f04b91b84331c9a12c897e4eb2836a0a3e3a5fae"
+# Corresponds to version 01.00.00.00A
+SRCREV = "88e78564ff9094ecb13b53d627fa6bfb25d9ac03"
+
+PR = "r1"
 
 COMPATIBLE_MACHINE = "omap-a15"
-EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+DEVICE_NAME = ""
+DEVICE_NAME_append_am57xx-evm = "am57xx"
+
+EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR} DEVICE=${DEVICE_NAME}"
 
 do_install() {
     install -d ${D}${bindir}/