[yocto] [meta-raspberrypi][PATCH 1/3] rpi-mkimage: install tools under {libexecdir}/rpi-mkimage

Maciej Borzecki maciej.borzecki at open-rnd.pl
Tue Feb 2 06:31:45 PST 2016


For consistency with other recipes that look for mkimage
tools (u-boot-rpi, linux-raspberrypi) under ${libexecdir}/rpi-mkimage,
make sure that the tools are installed at the proper location.

Signed-off-by: Maciej Borzecki <maciej.borzecki at open-rnd.pl>
---
 recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb b/recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb
index ffcaa83683fd270cb2216b118a3f5be941cfdb89..2c8ecb173c804302ac6e13d4ae7af8ba35bccd26 100644
--- a/recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb
+++ b/recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb
@@ -15,8 +15,8 @@ SRC_URI = " \
 S = "${WORKDIR}/git"
 
 do_install () {
-    install -d ${D}${libexecdir}
-    cp ./mkimage/* ${D}${libexecdir}
+    install -d ${D}${libexecdir}/rpi-mkimage
+    install -t ${D}${libexecdir}/rpi-mkimage ./mkimage/*
 }
 
 BBCLASSEXTEND = "native"
-- 
2.5.0




More information about the yocto mailing list