summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2016-03-02 00:58:37 +1100
committerAndrei Gherzan <andrei@gherzan.ro>2016-03-01 15:04:02 +0100
commit224d1c9925a2324da432b05a2e44256c99687b30 (patch)
tree8d9e026fc950c803f5b02bdf3f8328c55fb30200
parent0d5aff5161d0fb6f91bc9021f86065248cd8cd1b (diff)
downloadmeta-raspberrypi-224d1c9925a2324da432b05a2e44256c99687b30.tar.gz
rpi-mkimage: install to bindir instead of libexecdir
On fido and earlier branches, ${libexecdir} depends on ${BPN} so it is not a good choice as ${libexecdir} is different depending on the recipe name. For example, rpi-mkimage would install mkknlimg to: [...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage but linux-raspberrypi would look for mkknlimg in the path: [...]/sysroots/x86_64-linux/usr/lib/linux-raspberrypi To resolve this, we use ${bindir} instead as it doesn't depend on ${BPN} in fido and earlier branches as well as in the master branch. Signed-off-by: Jonathan Liu <net147@gmail.com>
-rw-r--r--recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb4
1 files 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 7dea43d..cce91d7 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 = " \
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16 16
17do_install () { 17do_install () {
18 install -d ${D}${libexecdir} 18 install -d ${D}${bindir}
19 install -t ${D}${libexecdir} mkimage/* 19 install -t ${D}${bindir} mkimage/*
20} 20}
21 21
22BBCLASSEXTEND = "native" 22BBCLASSEXTEND = "native"