Fix Hailo-8 firmware path expected since driver v4.19.0 (#3721)

The new driver now expects the firmware file to contain version number, adjust
the path and remove unnecessary makefile step.
This commit is contained in:
Jan Čermák 2024-12-06 15:17:32 +01:00 committed by GitHub
parent ce1e261fa4
commit 017d17291d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,13 +13,9 @@ define HAILO8_FIRMWARE_EXTRACT_CMDS
cp $(HAILO8_FIRMWARE_DL_DIR)/$(HAILO8_FIRMWARE_SOURCE) $(@D)
endef
define HAILO8_FIRMWARE_BUILD_CMDS
cp $(@D)/$(HAILO8_FIRMWARE_SOURCE) $(@D)/hailo8_fw.bin
endef
define HAILO8_FIRMWARE_INSTALL_TARGET_CMDS
$(INSTALL) -d $(TARGET_DIR)/lib/firmware/hailo
$(INSTALL) -m 0644 $(@D)/hailo8_fw.bin $(TARGET_DIR)/lib/firmware/hailo/
$(INSTALL) -m 0644 $(@D)/$(HAILO8_FIRMWARE_SOURCE) $(TARGET_DIR)/lib/firmware/hailo/
endef
$(eval $(generic-package))