Makefile.inc 1021 B

12345678910111213141516171819202122232425262728293031
  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_FROSTED),y)
  25. PKG_VERSION:= git
  26. PKG_RELEASE:= 1
  27. PKG_GIT_SUBMODULE:= 1
  28. PKG_SITES:= https://github.com/insane-adding-machines/newlib.git
  29. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  30. endif