Skip to contentSkip to conversation

Denys Dmytriyenko : dspdce-fw: replace mkdir/cp with install

PATCH Arago Project git 1 participant 1 message Mar 8, 2016

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: master
Commit: ded818502ed122d495992b14c3c7ab383865869f
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=ded818502ed122d495992b14c3c7ab383865869f
Author: Denys Dmytriyenko <[email protected]>
Date:   Wed Mar  9 04:37:41 2016 +0000

dspdce-fw: replace mkdir/cp with install

---

 recipes-bsp/dspdce-fw/dspdce-fw_git.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/dspdce-fw/dspdce-fw_git.bb +2 -2
index 6c6bb2a..3979ce9 100644
@@ -48,8 +48,8 @@ do_compile() {
 TARGET = "dra7-dsp1-fw.xe66"
 
 do_install() {
-        mkdir -p ${D}${base_libdir}/firmware
-        cp ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET}.${BPN}
+    install -d ${D}${base_libdir}/firmware
+    install -m 0644 ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET}.${BPN}
 }
 
 ALTERNATIVE_${PN} = "dra7-dsp1-fw.xe66"