From 716ca530e1c4515d8683c9d5be3d56b301758b66 Mon Sep 17 00:00:00 2001 From: James <> Date: Wed, 4 Nov 2015 11:49:21 +0000 Subject: trunk-47381 --- package/firmware/linux-firmware/Makefile | 88 ++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 package/firmware/linux-firmware/Makefile (limited to 'package/firmware/linux-firmware/Makefile') diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile new file mode 100644 index 0000000..a4b081a --- /dev/null +++ b/package/firmware/linux-firmware/Makefile @@ -0,0 +1,88 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=linux-firmware +PKG_SOURCE_VERSION:=f8c22c692bdee57a20b092e647464ff6176df3ed +PKG_VERSION:=2014-03-16-$(PKG_SOURCE_VERSION) +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_URL:=git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git +PKG_MIRROR_MD5SUM:=ca4d289ad9380471cae376fc7dd3660a + +PKG_MAINTAINER:=Felix Fietkau + +include $(INCLUDE_DIR)/package.mk + +define Package/r8169-firmware + SECTION:=firmware + CATEGORY:=Firmware + URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git + TITLE:=RealTek r8169 firmware +endef + +define Package/r8169-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/rtl_nic + $(CP) \ + $(PKG_BUILD_DIR)/rtl_nic/* \ + $(1)/lib/firmware/rtl_nic +endef + +define Package/r8188eu-firmware + SECTION:=firmware + CATEGORY:=Firmware + URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git + TITLE:=RealTek r8188eu firmware +endef + +define Package/r8188eu-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi + $(CP) \ + $(PKG_BUILD_DIR)/rtlwifi/rtl8188eufw.bin \ + $(1)/lib/firmware/rtlwifi +endef + +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 Package/ibt-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/intel + $(CP) \ + $(PKG_BUILD_DIR)/intel/*.bseq \ + $(1)/lib/firmware/intel +endef + +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 Package/ar3k-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/ar3k + $(CP) \ + $(PKG_BUILD_DIR)/ar3k/*.dfu \ + $(1)/lib/firmware/ar3k +endef + +define Build/Compile + +endef + +$(eval $(call BuildPackage,ar3k-firmware)) +$(eval $(call BuildPackage,ibt-firmware)) +$(eval $(call BuildPackage,r8169-firmware)) +$(eval $(call BuildPackage,r8188eu-firmware)) -- cgit v1.2.3