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_3_0_0),y)
  11. PKG_VERSION:= 3.0.0
  12. PKG_RELEASE:= 1
  13. PKG_HASH:= c8566335ee74e5fcaeb8595b4ebd0400c4b043d6acb3263ecb1314f8f5501332
  14. PKG_SITES:= ftp://sourceware.org/pub/newlib/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. endif
  17. ifeq ($(ADK_TARGET_LIB_NEWLIB_XTENSA),y)
  18. PKG_VERSION:= xtensa
  19. PKG_GIT:= branch
  20. PKG_RELEASE:= 1
  21. PKG_SITES:= https://github.com/jcmvbkbc/newlib-xtensa.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