realtek.mk 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. Package/r8169-firmware = $(call Package/firmware-default,RealTek RTL8169 firmware)
  2. define Package/r8169-firmware/install
  3. $(INSTALL_DIR) $(1)/lib/firmware/rtl_nic
  4. $(CP) \
  5. $(PKG_BUILD_DIR)/rtl_nic/* \
  6. $(1)/lib/firmware/rtl_nic
  7. endef
  8. $(eval $(call BuildPackage,r8169-firmware))
  9. Package/rtl8188eu-firmware = $(call Package/firmware-default,RealTek RTL8188EU firmware)
  10. define Package/rtl8188eu-firmware/install
  11. $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
  12. $(CP) \
  13. $(PKG_BUILD_DIR)/rtlwifi/rtl8188eufw.bin \
  14. $(1)/lib/firmware/rtlwifi
  15. endef
  16. $(eval $(call BuildPackage,rtl8188eu-firmware))
  17. Package/rtl8192ce-firmware = $(call Package/firmware-default,RealTek RTL8192CE firmware)
  18. define Package/rtl8192ce-firmware/install
  19. $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
  20. $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8192cfw.bin $(1)/lib/firmware/rtlwifi
  21. $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8192cfwU.bin $(1)/lib/firmware/rtlwifi
  22. $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8192cfwU_B.bin $(1)/lib/firmware/rtlwifi
  23. endef
  24. $(eval $(call BuildPackage,rtl8192ce-firmware))
  25. Package/rtl8192cu-firmware = $(call Package/firmware-default,RealTek RTL8192CU firmware)
  26. define Package/rtl8192cu-firmware/install
  27. $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
  28. $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8192cufw.bin $(1)/lib/firmware/rtlwifi
  29. $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8192cufw_A.bin $(1)/lib/firmware/rtlwifi
  30. $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8192cufw_B.bin $(1)/lib/firmware/rtlwifi
  31. $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8192cufw_TMSC.bin $(1)/lib/firmware/rtlwifi
  32. endef
  33. $(eval $(call BuildPackage,rtl8192cu-firmware))
  34. Package/rtl8192de-firmware = $(call Package/firmware-default,RealTek RTL8192DE firmware)
  35. define Package/rtl8192de-firmware/install
  36. $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
  37. $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8192defw.bin $(1)/lib/firmware/rtlwifi
  38. endef
  39. $(eval $(call BuildPackage,rtl8192de-firmware))
  40. Package/rtl8192se-firmware = $(call Package/firmware-default,RealTek RTL8192SE firmware)
  41. define Package/rtl8192se-firmware/install
  42. $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
  43. $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8192sefw.bin $(1)/lib/firmware/rtlwifi
  44. endef
  45. $(eval $(call BuildPackage,rtl8192se-firmware))
  46. Package/rtl8192su-firmware = $(call Package/firmware-default,RealTek RTL8192SU firmware)
  47. define Package/rtl8192su-firmware/install
  48. $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
  49. $(INSTALL_DATA) $(PKG_BUILD_DIR)/rtlwifi/rtl8712u.bin $(1)/lib/firmware/rtlwifi
  50. endef
  51. $(eval $(call BuildPackage,rtl8192su-firmware))