package/freescale-imx/firmware-imx: fix the ahab-container name
authorFabio Estevam <festevam@gmail.com>
Tue, 17 Dec 2019 18:18:54 +0000 (15:18 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 22 Dec 2019 13:05:18 +0000 (14:05 +0100)
After the firmware-imx bump to version 8.1.1 the following
error is observed when building freescale_imx8qxpmek_defconfig:

>> firmware-imx 8.1.1 Installing to images directory
cp /home/fabio/buildroot/output/build/firmware-imx-8.1.1/firmware/seco/ahab-container.img
/home/fabio/buildroot/output/images/ahab-container.img
cp: cannot stat
'/home/fabio/buildroot/output/build/firmware-imx-8.1.1/firmware/seco/ahab-container.img':
No such file or directory

In the firmware-imx-8.1.1 (and newer) the i.MX8QXP container image was
renamed to mx8qx-ahab-container.img, so fix it accordingly.

Fixes: 3ec818769d51 ("package/freescale-imx/firmware-imx: bump version to 8.1.1")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/freescale-imx/firmware-imx/firmware-imx.mk

index 59af3f9b96c7ba90a1dec086b27abc408cd7ccfd..c9040e1853185ce94db6ed30794acfcddd787680 100644 (file)
@@ -50,7 +50,7 @@ FIRMWARE_IMX_INSTALL_IMAGES = YES
 define FIRMWARE_IMX_INSTALL_IMAGES_CMDS
        # SECO firmware is needed when generating imx8-boot-sd.bin which
        # is done in post-image script.
-       cp $(@D)/firmware/seco/ahab-container.img \
+       cp $(@D)/firmware/seco/mx8qx-ahab-container.img \
                $(BINARIES_DIR)/ahab-container.img
 endef
 else