Makefile.inc 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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:= frosted
  26. PKG_GIT:= branch
  27. PKG_RELEASE:= 1
  28. PKG_GIT_SUBMODULE:= 1
  29. PKG_SITES:= https://github.com/insane-adding-machines/newlib.git
  30. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  31. endif