image.mk: rework FILESYSTEM evaluation order to fix some build issues
[15.05/openwrt.git] / include / uclibc++.mk
1 ifndef DUMP
2   ifdef __package_mk
3     $(error uclibc++.mk must be included before package.mk)
4   endif
5 endif
6
7 PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX
8 CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp
9
10 ifneq ($(CONFIG_USE_UCLIBCXX),)
11  ifneq ($(CONFIG_CCACHE),)
12   TARGET_CXX_NOCACHE=g++-uc
13  else
14   TARGET_CXX=g++-uc
15  endif
16 endif