All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-processor-sdk] [PATCH] pru-adc: install the arm binary with pru-adc added for the naming
@ 2018-09-10 18:11 Hongmei Gou
  0 siblings, 0 replies; only message in thread
From: Hongmei Gou @ 2018-09-10 18:11 UTC (permalink / raw)
  To: meta-arago; +Cc: Hongmei Gou

Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
 recipes-apps/pru-adc/pru-adc_git.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/recipes-apps/pru-adc/pru-adc_git.bb b/recipes-apps/pru-adc/pru-adc_git.bb
index 5525e48..86148da 100644
--- a/recipes-apps/pru-adc/pru-adc_git.bb
+++ b/recipes-apps/pru-adc/pru-adc_git.bb
@@ -1,4 +1,4 @@
-UMMARY = "PRU Multi-channel ADC Interface Reference Design"
+SUMMARY = "PRU Multi-channel ADC Interface Reference Design"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://PRUMulti-channelADCInterfaceReferen_manifest.html;md5=1302c86d3951a0d1254e1805158ccf2e"
 
@@ -9,7 +9,7 @@ inherit update-alternatives
 COMPATIBLE_MACHINE = "am335x-evm"
 
 PV = "1.0"
-PR = "r0"
+PR = "r1"
 
 BRANCH = "master"
 SRC_URI = "git://git.ti.com/apps/tida01555.git;protocol=git;branch=${BRANCH}"
@@ -32,8 +32,9 @@ do_install() {
     install -m 0644 PRU_ADS8688_Interface/gen/PRU_ADS8688_Interface.out ${D}${base_libdir}/firmware/pru
 # install binary and scripts
     install -d ${D}${bindir}
-    install -m 755 ARM_User_Space_App/gen/ARM_User_Space_App.out ${D}${bindir}
+    install -m 755 ARM_User_Space_App/gen/ARM_User_Space_App.out ${D}${bindir}/pru-adc-arm-app.out
     install -m 755 run.sh ${D}${bindir}/run-pru-adc.sh
+    sed -i 's|./ARM_User_Space_App.out|/usr/bin/pru-adc-arm-app.out|g' ${D}${bindir}/run-pru-adc.sh
 }
 
 FILES_${PN} += "${base_libdir}/firmware"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-10 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-10 18:11 [meta-processor-sdk] [PATCH] pru-adc: install the arm binary with pru-adc added for the naming Hongmei Gou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.