uclibc++.mk 511 B

123456789101112131415161718192021222324
  1. ifndef DUMP
  2. ifdef __package_mk
  3. $(error uclibc++.mk must be included before package.mk)
  4. endif
  5. endif
  6. PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX CONFIG_USE_LIBCXX
  7. CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBCXX:libcxx +USE_LIBSTDCXX:libstdcpp
  8. ifneq ($(CONFIG_USE_UCLIBCXX),)
  9. ifneq ($(CONFIG_CCACHE),)
  10. TARGET_CXX_NOCACHE=g++-uc
  11. else
  12. TARGET_CXX=g++-uc
  13. endif
  14. endif
  15. ifneq ($(CONFIG_USE_LIBCXX),)
  16. ifneq ($(CONFIG_CCACHE),)
  17. TARGET_CXX_NOCACHE=g++-libcxx
  18. else
  19. TARGET_CXX=g++-libcxx
  20. endif
  21. endif