diff options
author | Jonathan Liu <net147@gmail.com> | 2016-03-02 00:58:37 +1100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-03-01 15:04:02 +0100 |
commit | 224d1c9925a2324da432b05a2e44256c99687b30 (patch) | |
tree | 8d9e026fc950c803f5b02bdf3f8328c55fb30200 | |
parent | 0d5aff5161d0fb6f91bc9021f86065248cd8cd1b (diff) | |
download | meta-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.bb | 4 |
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 = " \ | |||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | 16 | ||
17 | do_install () { | 17 | do_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 | ||
22 | BBCLASSEXTEND = "native" | 22 | BBCLASSEXTEND = "native" |