cortex-a9.mk 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #
  2. # Copyright (C) 2012-2016 OpenWrt.org
  3. # Copyright (C) 2016 LEDE-project.org
  4. #
  5. # This is free software, licensed under the GNU General Public License v2.
  6. # See /LICENSE for more information.
  7. #
  8. ifeq ($(SUBTARGET),cortexa9)
  9. define Device/linksys
  10. $(Device/NAND-128K)
  11. DEVICE_TITLE := Linksys $(1)
  12. DEVICE_PACKAGES := wpad-basic
  13. IMAGES += factory.img
  14. KERNEL_SIZE := 6144k
  15. endef
  16. define Device/linksys_wrt1900ac
  17. $(call Device/linksys,WRT1900AC (Mamba))
  18. DEVICE_DTS := armada-xp-linksys-mamba
  19. DEVICE_PACKAGES := kmod-ath9k
  20. KERNEL_SIZE := 3072k
  21. SUPPORTED_DEVICES := armada-xp-linksys-mamba linksys,mamba
  22. endef
  23. TARGET_DEVICES += linksys_wrt1900ac
  24. define Device/cznic_turris-omnia
  25. KERNEL_INSTALL := 1
  26. KERNEL := kernel-bin
  27. KERNEL_INITRAMFS := kernel-bin
  28. DEVICE_TITLE := Turris Omnia
  29. DEVICE_PACKAGES := \
  30. mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
  31. wpad-basic kmod-ath9k partx-utils kmod-i2c-core kmod-i2c-mux \
  32. kmod-i2c-mux-pca954x
  33. IMAGES := $$(IMAGE_PREFIX)-sysupgrade.img.gz omnia-medkit-$$(IMAGE_PREFIX)-initramfs.tar.gz
  34. IMAGE/$$(IMAGE_PREFIX)-sysupgrade.img.gz := boot-scr | boot-img | sdcard-img | gzip | append-metadata
  35. IMAGE/omnia-medkit-$$(IMAGE_PREFIX)-initramfs.tar.gz := omnia-medkit-initramfs | gzip
  36. IMAGE_NAME = $$(2)
  37. DEVICE_DTS := armada-385-turris-omnia
  38. SUPPORTED_DEVICES += armada-385-turris-omnia
  39. BOOT_SCRIPT := turris-omnia
  40. endef
  41. TARGET_DEVICES += cznic_turris-omnia
  42. endif