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
:=f8c22c692bdee57a20b092e647464ff6176df3ed
12 PKG_VERSION
:=2014-03-16-$(PKG_SOURCE_VERSION
)
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
17 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
18 PKG_SOURCE_URL
:=git
://git.kernel.org
/pub
/scm
/linux
/kernel
/git
/firmware
/linux-firmware.git
19 PKG_MIRROR_MD5SUM
:=ca4d289ad9380471cae376fc7dd3660a
21 PKG_MAINTAINER
:=Felix Fietkau
<nbd@openwrt.org
>
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/r8169-firmware
28 URL
:=http
://git.kernel.org
/cgit
/linux
/kernel
/git
/firmware
/linux-firmware.git
29 TITLE
:=RealTek r8169 firmware
36 define Package
/r8169-firmware
/install
37 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtl_nic
39 $(PKG_BUILD_DIR
)/rtl_nic
/* \
40 $(1)/lib
/firmware
/rtl_nic
43 $(eval
$(call BuildPackage
,r8169-firmware
))
45 define Package
/r8188eu-firmware
48 URL
:=http
://git.kernel.org
/cgit
/linux
/kernel
/git
/firmware
/linux-firmware.git
49 TITLE
:=RealTek r8188eu firmware
56 define Package
/r8188eu-firmware
/install
57 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
59 $(PKG_BUILD_DIR
)/rtlwifi
/rtl8188eufw.bin \
60 $(1)/lib
/firmware
/rtlwifi
63 $(eval
$(call BuildPackage
,r8188eu-firmware
))
65 define Package
/ibt-firmware
68 URL
:=http
://git.kernel.org
/cgit
/linux
/kernel
/git
/firmware
/linux-firmware.git
69 TITLE
:=Intel bluetooth firmware
76 define Package
/ibt-firmware
/install
77 $(INSTALL_DIR
) $(1)/lib
/firmware
/intel
79 $(PKG_BUILD_DIR
)/intel
/*.bseq \
80 $(1)/lib
/firmware
/intel
83 $(eval
$(call BuildPackage
,ibt-firmware
))
85 define Package
/ar3k-firmware
88 URL
:=http
://git.kernel.org
/cgit
/linux
/kernel
/git
/firmware
/linux-firmware.git
96 define Package
/ar3k-firmware
/install
97 $(INSTALL_DIR
) $(1)/lib
/firmware
/ar3k
99 $(PKG_BUILD_DIR
)/ar3k
/*.dfu \
100 $(1)/lib
/firmware
/ar3k
103 $(eval
$(call BuildPackage
,ar3k-firmware
))