rt288x.mk 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #
  2. # RT288X Profiles
  3. #
  4. define Build/gemtek-header
  5. mkheader_gemtek $@ $@.new $(1) && mv $@.new $@
  6. endef
  7. define Build/airlink-header
  8. mkwrgimg -i $@ \
  9. -d "/dev/mtdblock/2" \
  10. -s "wrgn16a_airlink_ar670w" \
  11. -o $@.new && mv $@.new $@
  12. endef
  13. define Device/ar670w
  14. DTS := AR670W
  15. DEVICE_TITLE := Airlink AR670W
  16. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  17. KERNEL := $(KERNEL_DTB)
  18. IMAGES += factory.bin
  19. IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | gemtek-header ar725w
  20. endef
  21. TARGET_DEVICES += ar725w
  22. define Device/ar725w
  23. DTS := AR725W
  24. DEVICE_TITLE := Gemtek AR725W
  25. IMAGES += factory.bin
  26. IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | gemtek-header ar725w
  27. endef
  28. TARGET_DEVICES += ar725w
  29. belkin_f5d8235v1_mtd_size=7929856
  30. define Device/f5d8235v1
  31. DTS := F5D8235_V1
  32. IMAGE_SIZE := $(belkin_f5d8235v1_mtd_size)
  33. DEVICE_TITLE := Belkin F5D8235 V1
  34. DEVICE_PACKAGES := kmod-switch-rtl8366s
  35. endef
  36. TARGET_DEVICES += f5d8235v1
  37. define Device/rt-n15
  38. DTS := RT-N15
  39. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  40. DEVICE_TITLE := Asus RT-N15
  41. DEVICE_PACKAGES := kmod-switch-rtl8366s
  42. endef
  43. TARGET_DEVICES += rt-n15
  44. define Device/v11st-fe
  45. DTS := V11STFE
  46. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  47. DEVICE_TITLE := Ralink V11ST-FE
  48. endef
  49. TARGET_DEVICES += v11st-fe
  50. define Device/wli-tx4-ag300n
  51. DTS := WLI-TX4-AG300N
  52. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  53. DEVICE_TITLE := Buffalo WLI-TX4-AG300N
  54. DEVICE_PACKAGES := kmod-switch-ip17xx
  55. endef
  56. TARGET_DEVICES += wli-tx4-ag300n
  57. define Device/wzr-agl300nh
  58. DTS := WZR-AGL300NH
  59. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  60. DEVICE_TITLE := Buffalo WZR-AGL300NH
  61. DEVICE_PACKAGES := kmod-switch-rtl8366s
  62. endef
  63. TARGET_DEVICES += wzr-agl300nh