summaryrefslogtreecommitdiff
path: root/package/libstdcxx/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-22 13:46:25 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-22 13:46:25 +0200
commit47e110abbf0d3142d737e753833d0d6239965b2a (patch)
tree84308904e286e4ad1136dd447175eaa7ec19ae09 /package/libstdcxx/Makefile
parent7695ce447acb41050295fd205e14ba55c378cdd2 (diff)
fix package names and package flavour dependencies
ipkg does not allow package names with uppercase, so revert some of phil changes. dependency handling of package flavours were broken, because of a chicken and egg problem. implement a new variable (PKGFS_XXX) containing flavour dependent package dependencies.
Diffstat (limited to 'package/libstdcxx/Makefile')
-rw-r--r--package/libstdcxx/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/libstdcxx/Makefile b/package/libstdcxx/Makefile
index 05de53da2..645e6868c 100644
--- a/package/libstdcxx/Makefile
+++ b/package/libstdcxx/Makefile
@@ -2,7 +2,15 @@
# material, please see the LICENCE file in the top-level directory.
include ${TOPDIR}/rules.mk
+ifeq ($(ADK_TARGET_LIB_GLIBC),y)
include ${TOPDIR}/toolchain/glibc/Makefile.inc
+else
+ifeq ($(ADK_TARGET_LIB_EGLIBC),y)
+include ${TOPDIR}/toolchain/eglibc/Makefile.inc
+else
+include ${TOPDIR}/toolchain/uClibc/Makefile.inc
+endif
+endif
PKG_NAME:= libstdcxx
PKG_DESCR:= C++ support library