Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #
  2. # Copyright (C) 2013-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_VERSION:=2014.04
  9. PKG_RELEASE:=1
  10. PKG_HASH:=7b6444bd23eb61068c43bd1d44ec7e7bfdbce5cadeca20c833eee186b4d3fd31
  11. include $(INCLUDE_DIR)/u-boot.mk
  12. include $(INCLUDE_DIR)/package.mk
  13. define U-Boot/Default
  14. BUILD_TARGET:=imx6
  15. UBOOT_IMAGE:=u-boot.imx
  16. endef
  17. define U-Boot/mx6qsabresd
  18. NAME:=SABRE i.MX6Quad board
  19. endef
  20. define U-Boot/nitrogen6dl
  21. NAME:=Nitrogen6x i.MX6Dual-Lite 1GB board
  22. endef
  23. define U-Boot/nitrogen6dl2g
  24. NAME:=Nitrogen6x i.MX6Dual-Lite 2GB board
  25. endef
  26. define U-Boot/nitrogen6q
  27. NAME:=Nitrogen6x/SABRE Lite (MX6Q/1GB)
  28. endef
  29. define U-Boot/nitrogen6q2g
  30. NAME:=Nitrogen6x i.MX6Quad 2GB board
  31. endef
  32. define U-Boot/nitrogen6s
  33. NAME:=Nitrogen6x i.MX6Solo 512MB board
  34. endef
  35. define U-Boot/nitrogen6s1g
  36. NAME:=Nitrogen6x i.MX6Solo 1GB board
  37. endef
  38. define U-Boot/wandboard_dl
  39. NAME:=Wandboard Dual Lite
  40. BUILD_DEVICES:=wandboard
  41. endef
  42. define U-Boot/wandboard_quad
  43. NAME:=Wandboard Quad
  44. BUILD_DEVICES:=wandboard
  45. endef
  46. define U-Boot/wandboard_solo
  47. NAME:=Wandboard Solo
  48. BUILD_DEVICES:=wandboard
  49. endef
  50. UBOOT_TARGETS := \
  51. mx6qsabresd \
  52. nitrogen6dl \
  53. nitrogen6dl2g \
  54. nitrogen6q \
  55. nitrogen6q2g \
  56. nitrogen6s \
  57. nitrogen6s1g \
  58. wandboard_dl \
  59. wandboard_quad \
  60. wandboard_solo
  61. $(eval $(call BuildPackage/U-Boot))