Makefile.inc 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. PKG_NAME:= newlib
  4. ifeq ($(ADK_LIBC_VERSION),git)
  5. PKG_VERSION:= git
  6. PKG_RELEASE:= 1
  7. PKG_SITES:= git://sourceware.org/git/newlib-cygwin.git
  8. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  9. endif
  10. ifeq ($(ADK_TARGET_LIB_NEWLIB_2_5_0),y)
  11. PKG_VERSION:= 2.5.0
  12. PKG_RELEASE:= 1
  13. PKG_HASH:= 5b76a9b97c9464209772ed25ce55181a7bb144a66e5669aaec945aa64da3189b
  14. PKG_SITES:= ftp://sourceware.org/pub/newlib/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. endif
  17. ifeq ($(ADK_TARGET_LIB_NEWLIB_RISCV),y)
  18. PKG_VERSION:= riscv-newlib-2.4.0
  19. PKG_GIT:= branch
  20. PKG_RELEASE:= 1
  21. PKG_SITES:= https://github.com/riscv/riscv-newlib.git
  22. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  23. endif
  24. ifeq ($(ADK_TARGET_LIB_NEWLIB_XTENSA),y)
  25. PKG_VERSION:= xtensa
  26. PKG_GIT:= branch
  27. PKG_RELEASE:= 1
  28. PKG_SITES:= https://github.com/jcmvbkbc/newlib-xtensa.git
  29. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  30. endif
  31. ifeq ($(ADK_TARGET_LIB_NEWLIB_FROSTED),y)
  32. PKG_VERSION:= frosted
  33. PKG_GIT:= branch
  34. PKG_RELEASE:= 1
  35. PKG_GIT_SUBMODULE:= 1
  36. PKG_SITES:= https://github.com/insane-adding-machines/newlib.git
  37. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  38. endif