mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
linux-firmware: move realtek firmware packages to realtek.mk
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48173
This commit is contained in:
parent
727f2d336d
commit
2d21f6c6d6
@ -23,34 +23,6 @@ PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
|
||||
|
||||
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
|
||||
@ -83,7 +55,7 @@ define Build/Compile
|
||||
|
||||
endef
|
||||
|
||||
include $(wildcard ./*.mk)
|
||||
|
||||
$(eval $(call BuildPackage,ar3k-firmware))
|
||||
$(eval $(call BuildPackage,ibt-firmware))
|
||||
$(eval $(call BuildPackage,r8169-firmware))
|
||||
$(eval $(call BuildPackage,r8188eu-firmware))
|
||||
|
32
package/firmware/linux-firmware/realtek.mk
Normal file
32
package/firmware/linux-firmware/realtek.mk
Normal file
@ -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))
|
Loading…
Reference in New Issue
Block a user