openwrt/package/firmware/linux-firmware/edgeport.mk
Bjørn Mork 73e8fcf894 linux-firmware: add IO Edgeport USB Serial firmware
Preparing for kernel versions without firmware.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
2017-11-16 22:56:54 +01:00

13 lines
448 B
Makefile

Package/edgeport-firmware = $(call Package/firmware-default,USB Inside Out Edgeport Serial Driver firmware)
define Package/edgeport-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/edgeport
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/edgeport/boot.fw \
$(PKG_BUILD_DIR)/edgeport/boot2.fw \
$(PKG_BUILD_DIR)/edgeport/down.fw \
$(PKG_BUILD_DIR)/edgeport/down2.fw \
$(1)/lib/firmware/edgeport
endef
$(eval $(call BuildPackage,edgeport-firmware))