rpi-mkimage: install to ${libexecdir}
PATCH 1/3 rpi-mkimage: install to ${libexecdir}
It doesn't make sense to install to ${libexecdir}/rpi-mkimage as it changes the path on fido and earlier branches from:
[...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage
to:
[...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage/rpi-mkimage
Using ${libexecdir} instead of ${libexecdir}/rpi-mkimage preserves the path for fido and earlier.
--- recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb +2 -2
@@ -15,8 +15,8 @@ SRC_URI = " \ S = "${WORKDIR}/git" do_install () { - install -d ${D}${libexecdir}/rpi-mkimage - install -t ${D}${libexecdir}/rpi-mkimage ./mkimage/* + install -d ${D}${libexecdir} + install -t ${D}${libexecdir} mkimage/* } BBCLASSEXTEND = "native"
Signature · 1 line
2.7.1
PATCH 2/3 linux-raspberrypi: update path to mkknlimg
--- recipes-kernel/linux/linux-raspberrypi.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-raspberrypi.inc +1 -1
@@ -60,7 +60,7 @@ do_rpiboot_mkimage() { if test "x${KERNEL_IMAGETYPE}" != "xuImage" ; then if test -n "${KERNEL_DEVICETREE}"; then # Add RPi bootloader trailer to kernel image to enable DeviceTree support - ${STAGING_LIBEXECDIR_NATIVE}/rpi-mkimage/mkknlimg --dtok ${KERNEL_OUTPUT} ${KERNEL_OUTPUT} + ${STAGING_LIBEXECDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT} ${KERNEL_OUTPUT} fi fi }
Signature · 1 line
2.7.1
Andrei Gherzan
AppliedRe: [meta-raspberrypi][PATCH 2/3] linux-raspberrypi: update path to mkknlimg
Quoted 22 lines · Jonathan Liu
Signed-off-by Jonathan Liu <[email protected]>--- recipes-kernel/linux/linux-raspberrypi.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-kernel/linux/linux-raspberrypi.inc +1
-1@@ -60,7 +60,7 @@ do_rpiboot_mkimage() { if test "x${KERNEL_IMAGETYPE}" != "xuImage" ; then if test -n "${KERNEL_DEVICETREE}"; then # Add RPi bootloader trailer to kernel image to enable DeviceTree support - ${STAGING_LIBEXECDIR_NATIVE}/rpi-mkimage/mkknlimg --dtok ${KERNEL_OUTPUT} ${KERNEL_OUTPUT} + ${STAGING_LIBEXECDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT} ${KERNEL_OUTPUT} fi fi }Signature · 3 lines
2.7.1 --
Merged to master. Thanks.
Signature · 1 line
Andrei Gherzan
PATCH 3/3 u-boot-rpi: update path to imagetool-uncompressed.py
In reply to Jonathan Liu--- recipes-bsp/u-boot/u-boot-rpi_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-rpi_git.bb +1 -1
@@ -24,6 +24,6 @@ COMPATIBLE_MACHINE = "raspberrypi" do_compile_append() { # Create kernel.img from uboot.bin and name it u-boot.img - ${STAGING_LIBEXECDIR_NATIVE}/rpi-mkimage/imagetool-uncompressed.py u-boot.bin + ${STAGING_LIBEXECDIR_NATIVE}/imagetool-uncompressed.py u-boot.bin mv kernel.img u-boot.img }
Signature · 1 line
2.7.1
Andrei Gherzan
AppliedRe: [meta-raspberrypi][PATCH 3/3] u-boot-rpi: update path to imagetool-uncompressed.py
Quoted 21 lines · Jonathan Liu
Signed-off-by Jonathan Liu <[email protected]>--- recipes-bsp/u-boot/u-boot-rpi_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-bsp/u-boot/u-boot-rpi_git.bb +1
-1@@ -24,6 +24,6 @@ COMPATIBLE_MACHINE = "raspberrypi" do_compile_append() { # Create kernel.img from uboot.bin and name it u-boot.img - ${STAGING_LIBEXECDIR_NATIVE}/rpi-mkimage/imagetool-uncompressed.py u-boot.bin + ${STAGING_LIBEXECDIR_NATIVE}/imagetool-uncompressed.py u-boot.bin mv kernel.img u-boot.img }Signature · 3 lines
2.7.1 --
Merged to master. Thanks.
Signature · 1 line
Andrei Gherzan
Andrei Gherzan
AppliedQuoted 32 lines · Jonathan Liu
It doesn't make sense to install to ${libexecdir}/rpi-mkimage as it changes the path on fido and earlier branches from:
[...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage
to:
[...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage/rpi-mkimageUsing ${libexecdir} instead of ${libexecdir}/rpi-mkimage preserves the path for fido and earlier.
Signed-off-by Jonathan Liu <[email protected]>--- recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb +2
-2@@ -15,8 +15,8 @@ SRC_URI = " \ S = "${WORKDIR}/git" do_install () { - install -d ${D}${libexecdir}/rpi-mkimage - install -t ${D}${libexecdir}/rpi-mkimage ./mkimage/* + install -d ${D}${libexecdir} + install -t ${D}${libexecdir} mkimage/* } BBCLASSEXTEND = "native"Signature · 1 line
2.7.1
Merged to master. Thanks.
Signature · 1 line
Andrei Gherzan