[meta-ti] Denys Dmytriyenko : dspdce-fw: replace mkdir/cp with install

Arago Project git git at arago-project.org
Tue Mar 8 15:44:29 PST 2016


Module: meta-ti
Branch: fido
Commit: d27c37ce34f0ffac7027dee0823e1f82d8df8329
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=d27c37ce34f0ffac7027dee0823e1f82d8df8329

Author: Denys Dmytriyenko <denys at ti.com>
Date:   Wed Mar  9 04:37:41 2016 +0000

dspdce-fw: replace mkdir/cp with install

Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes-bsp/dspdce-fw/dspdce-fw_git.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/recipes-bsp/dspdce-fw/dspdce-fw_git.bb
index 6c6bb2a..3979ce9 100644
--- a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb
+++ b/recipes-bsp/dspdce-fw/dspdce-fw_git.bb
@@ -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"



More information about the meta-ti mailing list