package/freescale-imx/firmware-imx: install video encode decode firwmare to target...
authorRefik Tuzakli <tuzakli.refik@gmail.com>
Mon, 3 Feb 2020 19:31:52 +0000 (22:31 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 4 Feb 2020 08:43:09 +0000 (09:43 +0100)
Signed-off-by: Refik Tuzakli <tuzakli.refik@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/freescale-imx/firmware-imx/firmware-imx.mk

index c9040e1853185ce94db6ed30794acfcddd787680..b251fcda2a8c327b2a49b8d7721537990f5c1033 100644 (file)
@@ -53,6 +53,12 @@ define FIRMWARE_IMX_INSTALL_IMAGES_CMDS
        cp $(@D)/firmware/seco/mx8qx-ahab-container.img \
                $(BINARIES_DIR)/ahab-container.img
 endef
+define FIRMWARE_IMX_INSTALL_TARGET_CMDS
+       $(INSTALL) -D -m 0644 $(@D)/firmware/vpu/vpu_fw_imx8_dec.bin \
+               $(TARGET_DIR)/lib/firmware/vpu/vpu_fw_imx8_dec.bin
+       $(INSTALL) -D -m 0644 $(@D)/firmware/vpu/vpu_fw_imx8_enc.bin \
+               $(TARGET_DIR)/lib/firmware/vpu/vpu_fw_imx8_enc.bin
+endef
 else
 define FIRMWARE_IMX_INSTALL_TARGET_CMDS
        mkdir -p $(TARGET_DIR)/lib/firmware/imx