linux-firmware: remove duplication in package metadata
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48174v19.07.3_mercusys_ac12_duma
parent
2d21f6c6d6
commit
b6fcd06204
@ -1,32 +1,17 @@
|
|||||||
define Package/r8169-firmware
|
Package/r8169-firmware = $(call Package/firmware-default,RealTek RTL8169 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
|
define Package/r8169-firmware/install
|
||||||
$(INSTALL_DIR) $(1)/lib/firmware/rtl_nic
|
$(INSTALL_DIR) $(1)/lib/firmware/rtl_nic
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_BUILD_DIR)/rtl_nic/* \
|
$(PKG_BUILD_DIR)/rtl_nic/* \
|
||||||
$(1)/lib/firmware/rtl_nic
|
$(1)/lib/firmware/rtl_nic
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,r8169-firmware))
|
$(eval $(call BuildPackage,r8169-firmware))
|
||||||
|
|
||||||
|
Package/r8188eu-firmware = $(call Package/firmware-default,RealTek RTL8188EU 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
|
define Package/r8188eu-firmware/install
|
||||||
$(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
|
$(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_BUILD_DIR)/rtlwifi/rtl8188eufw.bin \
|
$(PKG_BUILD_DIR)/rtlwifi/rtl8188eufw.bin \
|
||||||
$(1)/lib/firmware/rtlwifi
|
$(1)/lib/firmware/rtlwifi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,r8188eu-firmware))
|
$(eval $(call BuildPackage,r8188eu-firmware))
|
||||||
|
Loading…
Reference in New Issue