firmware: linux-firmware: Add ibt-firmware and ar3k-firmware packages

Some bluetooth devices require firmware. Add intel bluetooth and ar3k for now.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47222
This commit is contained in:
John Crispin 2015-10-19 10:10:14 +00:00
parent 257e76a3df
commit c3d310356d

View file

@ -61,3 +61,43 @@ define Package/r8188eu-firmware/install
endef
$(eval $(call BuildPackage,r8188eu-firmware))
define Package/ibt-firmware
SECTION:=firmware
CATEGORY:=Firmware
URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git
TITLE:=Intel bluetooth firmware
endef
define Build/Compile
endef
define Package/ibt-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/intel
$(CP) \
$(PKG_BUILD_DIR)/intel/*.bseq \
$(1)/lib/firmware/intel
endef
$(eval $(call BuildPackage,ibt-firmware))
define Package/ar3k-firmware
SECTION:=firmware
CATEGORY:=Firmware
URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git
TITLE:=ath3k firmware
endef
define Build/Compile
endef
define Package/ar3k-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/ar3k
$(CP) \
$(PKG_BUILD_DIR)/ar3k/*.dfu \
$(1)/lib/firmware/ar3k
endef
$(eval $(call BuildPackage,ar3k-firmware))