X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Fuclibc%2B%2B.mk;h=10f8d98e15132314c9dac04fa8e4d498389c3a26;hb=7285f7744f6954f0611763e35e59edcccbb731d1;hp=a1a61f26d419fdbebb0f9f94a60010a398a17f31;hpb=2430e9a4f5f809d9164edf64dd3eb87f9a14a5fc;p=openwrt%2Fstaging%2Fstintel.git diff --git a/include/uclibc++.mk b/include/uclibc++.mk index a1a61f26d4..10f8d98e15 100644 --- a/include/uclibc++.mk +++ b/include/uclibc++.mk @@ -1,16 +1,2 @@ -ifndef DUMP - ifdef __package_mk - $(error uclibc++.mk must be included before package.mk) - endif -endif - -PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX -CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp - -ifneq ($(CONFIG_USE_UCLIBCXX),) - ifneq ($(CONFIG_CCACHE),) - TARGET_CXX_NOCACHE=g++-uc - else - TARGET_CXX=g++-uc - endif -endif +$(warn uclibc++.mk is deprecated. Please remove it and CXX_DEPENDS) +CXX_DEPENDS = +libstdcpp