mt7621.mk 932 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #
  2. # MT7621 Profiles
  3. #
  4. define Device/gb-pc1
  5. DTS := GB-PC1
  6. DEVICE_TITLE := GnuBee Personal Cloud One
  7. DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci
  8. IMAGE_SIZE := $(ralink_default_fw_size_32M)
  9. endef
  10. TARGET_DEVICES += gb-pc1
  11. define Device/mt7621
  12. DTS := MT7621
  13. BLOCKSIZE := 64k
  14. IMAGE_SIZE := $(ralink_default_fw_size_4M)
  15. DEVICE_TITLE := MediaTek MT7621 EVB
  16. endef
  17. TARGET_DEVICES += mt7621
  18. define Device/timecloud
  19. DTS := Timecloud
  20. DEVICE_TITLE := Thunder Timecloud
  21. endef
  22. TARGET_DEVICES += timecloud
  23. define Device/vr500
  24. DTS := VR500
  25. IMAGE_SIZE := 66453504
  26. DEVICE_TITLE := Planex VR500
  27. endef
  28. TARGET_DEVICES += vr500
  29. # FIXME: is this still needed?
  30. define Image/Prepare
  31. #define Build/Compile
  32. rm -rf $(KDIR)/relocate
  33. $(CP) ../../generic/image/relocate $(KDIR)
  34. $(MAKE) -C $(KDIR)/relocate KERNEL_ADDR=$(KERNEL_LOADADDR) CROSS_COMPILE=$(TARGET_CROSS)
  35. $(CP) $(KDIR)/relocate/loader.bin $(KDIR)/loader.bin
  36. endef