summaryrefslogtreecommitdiff
path: root/package/libstdcxx
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libstdcxx
Initial import
Diffstat (limited to 'package/libstdcxx')
-rw-r--r--package/libstdcxx/Config.in7
-rw-r--r--package/libstdcxx/Makefile20
-rw-r--r--package/libstdcxx/ipkg/libstdcxx.control5
3 files changed, 32 insertions, 0 deletions
diff --git a/package/libstdcxx/Config.in b/package/libstdcxx/Config.in
new file mode 100644
index 000000000..732d07535
--- /dev/null
+++ b/package/libstdcxx/Config.in
@@ -0,0 +1,7 @@
+config ADK_PACKAGE_LIBSTDCXX
+ prompt "libstdc++......................... C++ support library"
+ tristate
+ depends on ADK_CXX
+ default n
+ help
+ C++ support library
diff --git a/package/libstdcxx/Makefile b/package/libstdcxx/Makefile
new file mode 100644
index 000000000..e49735472
--- /dev/null
+++ b/package/libstdcxx/Makefile
@@ -0,0 +1,20 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+include ${TOPDIR}/toolchain/glibc/Makefile.inc
+
+PKG_NAME:= libstdcxx
+NO_DISTFILES:= 1
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBSTDCXX,libstdcxx,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_LIBSTDCXX}/lib
+ $(CP) ${STAGING_DIR}/lib/libstdc++.so.* ${IDIR_LIBSTDCXX}/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libstdcxx/ipkg/libstdcxx.control b/package/libstdcxx/ipkg/libstdcxx.control
new file mode 100644
index 000000000..384ebc12b
--- /dev/null
+++ b/package/libstdcxx/ipkg/libstdcxx.control
@@ -0,0 +1,5 @@
+Package: libstdcxx
+Priority: optional
+Section: net
+Depends: libgcc
+Description: G++ support library