rtl931x.mk 903 B

1234567891011121314151617181920212223242526272829303132
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. define Device/plasmacloud-common
  3. SOC := rtl9312
  4. UIMAGE_MAGIC := 0x93100000
  5. DEVICE_VENDOR := Plasma Cloud
  6. IMAGE_SIZE := 13376k
  7. BLOCKSIZE := 64k
  8. DEVICE_PACKAGES := kmod-hwmon-adt7475
  9. KERNEL_INITRAMFS := \
  10. kernel-bin | \
  11. append-dtb | \
  12. lzma | \
  13. uImage lzma
  14. KERNEL := kernel-bin | append-dtb | lzma | uImage lzma | pad-to $$(BLOCKSIZE)
  15. IMAGES += factory.bin
  16. IMAGE/factory.bin := append-kernel | append-rootfs | pad-rootfs | check-size
  17. IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | sysupgrade-tar rootfs=$$$$@ | append-metadata
  18. endef
  19. define Device/plasmacloud_esx28
  20. $(Device/plasmacloud-common)
  21. DEVICE_MODEL := ESX28
  22. endef
  23. TARGET_DEVICES += plasmacloud_esx28
  24. define Device/plasmacloud_psx28
  25. $(Device/plasmacloud-common)
  26. DEVICE_MODEL := PSX28
  27. DEVICE_PACKAGES += poemgr
  28. endef
  29. TARGET_DEVICES += plasmacloud_psx28