2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=linux-firmware
11 PKG_SOURCE_VERSION:=bbe4917c054eb0a73e250c6363341e3bf6725839
12 PKG_VERSION:=2015-12-07-$(PKG_SOURCE_VERSION)
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
17 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
19 PKG_SOURCE_URL:=git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
20 PKG_MIRROR_MD5SUM:=ca4d289ad9380471cae376fc7dd3660a
22 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
24 include $(INCLUDE_DIR)/package.mk
26 define Package/firmware-default
29 URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git
37 Package/ibt-firmware = $(call Package/firmware-default,Intel bluetooth firmware)
38 define Package/ibt-firmware/install
39 $(INSTALL_DIR) $(1)/lib/firmware/intel
41 $(PKG_BUILD_DIR)/intel/*.bseq \
42 $(1)/lib/firmware/intel
44 $(eval $(call BuildPackage,ibt-firmware))
46 Package/ar3k-firmware = $(call Package/firmware-default,ath3k firmware)
47 define Package/ar3k-firmware/install
48 $(INSTALL_DIR) $(1)/lib/firmware/ar3k
50 $(PKG_BUILD_DIR)/ar3k/*.dfu \
51 $(1)/lib/firmware/ar3k
53 $(eval $(call BuildPackage,ar3k-firmware))
55 include $(wildcard ./*.mk)
56 #$(eval $(call BuildPackage,linux-firmware))