aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware/linux-firmware/realtek.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-10 16:35:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-10 16:35:40 +0000
commit2d21f6c6d667ba34612b3fb4aa4f4e64fbb4231b (patch)
tree829fdc805964e7b24b32c08520ca9dec07b53993 /package/firmware/linux-firmware/realtek.mk
parent727f2d336d8cdefbeaf76bc904df3476b58ceb84 (diff)
downloadupstream-2d21f6c6d667ba34612b3fb4aa4f4e64fbb4231b.tar.gz
upstream-2d21f6c6d667ba34612b3fb4aa4f4e64fbb4231b.tar.bz2
upstream-2d21f6c6d667ba34612b3fb4aa4f4e64fbb4231b.zip
linux-firmware: move realtek firmware packages to realtek.mk
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48173
Diffstat (limited to 'package/firmware/linux-firmware/realtek.mk')
-rw-r--r--package/firmware/linux-firmware/realtek.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/firmware/linux-firmware/realtek.mk b/package/firmware/linux-firmware/realtek.mk
new file mode 100644
index 0000000000..9bf1cef3bf
--- /dev/null
+++ b/package/firmware/linux-firmware/realtek.mk
@@ -0,0 +1,32 @@
+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
+
+$(eval $(call BuildPackage,r8169-firmware))
+
+
+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
+
+$(eval $(call BuildPackage,r8188eu-firmware))