2012-06-14 20:26:04 +00:00
|
|
|
ifndef DUMP
|
|
|
|
ifdef __package_mk
|
|
|
|
$(error uclibc++.mk must be included before package.mk)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2019-12-14 05:07:04 +00:00
|
|
|
PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX CONFIG_USE_LIBCXX
|
|
|
|
CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBCXX:libcxx +USE_LIBSTDCXX:libstdcpp
|
2012-06-14 20:26:04 +00:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_USE_UCLIBCXX),)
|
2012-06-15 12:57:29 +00:00
|
|
|
ifneq ($(CONFIG_CCACHE),)
|
2012-06-18 08:50:26 +00:00
|
|
|
TARGET_CXX_NOCACHE=g++-uc
|
2012-06-15 12:57:29 +00:00
|
|
|
else
|
2012-06-18 08:50:26 +00:00
|
|
|
TARGET_CXX=g++-uc
|
2012-06-15 12:57:29 +00:00
|
|
|
endif
|
2012-06-14 20:26:04 +00:00
|
|
|
endif
|
2019-12-14 05:07:04 +00:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_USE_LIBCXX),)
|
|
|
|
ifneq ($(CONFIG_CCACHE),)
|
|
|
|
TARGET_CXX_NOCACHE=g++-libcxx
|
|
|
|
else
|
|
|
|
TARGET_CXX=g++-libcxx
|
|
|
|
endif
|
|
|
|
endif
|