firmware: linux-firmware: Add ibt-firmware and ar3k-firmware packages
authorJohn Crispin <john@openwrt.org>
Mon, 19 Oct 2015 10:10:14 +0000 (10:10 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 19 Oct 2015 10:10:14 +0000 (10:10 +0000)
Some bluetooth devices require firmware. Add intel bluetooth and ar3k for now.

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

package/firmware/linux-firmware/Makefile

index 015aff755457d34cc8f39e9255fef89af46e3fe5..fe682aba3dd09fe83ea324426b2900620714d9f8 100644 (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))