Project import
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..83a310e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,71 @@
+#
+# Copyright (c) 2010-2011 Nest, Inc.
+# All rights reserved.
+#
+# This document is the property of Nest. It is considered
+# confidential and proprietary information.
+#
+# This document may not be reproduced or transmitted in any form,
+# in whole or in part, without the express written permission of
+# Nest.
+#
+# Description:
+# This file is the makefile for the GNU C++ Standard Library.
+#
+# The following set of packages MUST be a matched set:
+#
+# * Target Binary Utilities
+# * Target GNU C Standard Library
+# * Target GNU C++ Standard Library
+# * Target GDB server and client
+# * Host Cross Binary Utilities
+# * Host Cross Compilers
+# * Host Cross GDB client
+#
+# These are presumed provided by the tool chain and are simply
+# sourced from it rather than built anew from source.
+#
+# This is acceptable but a little less than ideal since it makes
+# the build tree, specifically this make file, dependent on the tool
+# chain in a non-abstracted way. Ideally, we'd like to be able to
+# rebuild all the target pieces from source against any arbitrary
+# tool chain meeting some minimum set of capabilities.
+#
+
+include pre.mak
+
+PackageName := libstdc++
+
+all: $(PackageDefaultGoal)
+
+# Prepare the sources.
+
+.PHONY: source
+source:
+
+# Patch the sources, if necessary.
+
+.PHONY: patch
+patch: source
+
+# Configure the source for building.
+
+.PHONY: configure
+configure: source
+
+# Build the source.
+
+.PHONY: build
+build: configure
+
+# Stage the build to a temporary installation area.
+
+.PHONY: stage
+stage: build
+
+include $(ToolVendor)-$(ToolProduct)-$(ToolVersion).mak
+
+clean:
+ $(Verbose)$(RM) $(RMFLAGS) -r $(ResultDirectory)
+
+include post.mak
diff --git a/codesourcery-sourcery-gxx-2009q1-203.mak b/codesourcery-sourcery-gxx-2009q1-203.mak
new file mode 100644
index 0000000..faa2d93
--- /dev/null
+++ b/codesourcery-sourcery-gxx-2009q1-203.mak
@@ -0,0 +1,30 @@
+#
+# Copyright (c) 2010 Nest Labs, Inc.
+# All rights reserved.
+#
+# This document is the property of Nest Labs. It is considered
+# confidential and proprietary information.
+#
+# This document may not be reproduced or transmitted in any form,
+# in whole or in part, without the express written permission of
+# Nest Labs.
+#
+# Description:
+# This file is the makefile for the CodeSourcery Sourcery G++
+# 2009q1-203-specific staging rules and commands for the GNU C++
+# Standard Library.
+#
+
+# Stage the build to a temporary installation area.
+#
+# Per the comments at the top of this file, we simply pull the tool
+# chain's C++ library. We also appear to need libgcc.
+
+.PHONY: stage
+stage: build | $(ResultDirectory)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) -d $(call GenerateResultPaths,,usr/lib)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/../../lib/libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so.1)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/libstdc++.so.6.0.10 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6.0.10)
+ $(Verbose)ln -sf libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.10 $(call GenerateResultPaths,,usr/lib/libstdc++.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.10 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6)
diff --git a/codesourcery-sourcery-gxx-2010.09-50.mak b/codesourcery-sourcery-gxx-2010.09-50.mak
new file mode 100644
index 0000000..bfd58b7
--- /dev/null
+++ b/codesourcery-sourcery-gxx-2010.09-50.mak
@@ -0,0 +1,30 @@
+#
+# Copyright (c) 2011 Nest Labs, Inc.
+# All rights reserved.
+#
+# This document is the property of Nest Labs. It is considered
+# confidential and proprietary information.
+#
+# This document may not be reproduced or transmitted in any form,
+# in whole or in part, without the express written permission of
+# Nest Labs.
+#
+# Description:
+# This file is the makefile for the CodeSourcery Sourcery G++
+# 2010.09-50-specific staging rules and commands for the GNU C++
+# Standard Library.
+#
+
+# Stage the build to a temporary installation area.
+#
+# Per the comments at the top of this file, we simply pull the tool
+# chain's C++ library. We also appear to need libgcc.
+
+.PHONY: stage
+stage: build | $(ResultDirectory)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) -d $(call GenerateResultPaths,,usr/lib)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/../../lib/libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so.1)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6.0.14)
+ $(Verbose)ln -sf libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6)
diff --git a/codesourcery-sourcery-gxx-2010.09-65.mak b/codesourcery-sourcery-gxx-2010.09-65.mak
new file mode 100644
index 0000000..607abc5
--- /dev/null
+++ b/codesourcery-sourcery-gxx-2010.09-65.mak
@@ -0,0 +1,30 @@
+#
+# Copyright (c) 2011 Nest Labs, Inc.
+# All rights reserved.
+#
+# This document is the property of Nest Labs. It is considered
+# confidential and proprietary information.
+#
+# This document may not be reproduced or transmitted in any form,
+# in whole or in part, without the express written permission of
+# Nest Labs.
+#
+# Description:
+# This file is the makefile for the CodeSourcery Sourcery G++
+# 2010.09-65-specific staging rules and commands for the GNU C++
+# Standard Library.
+#
+
+# Stage the build to a temporary installation area.
+#
+# Per the comments at the top of this file, we simply pull the tool
+# chain's C++ library. We also appear to need libgcc.
+
+.PHONY: stage
+stage: build | $(ResultDirectory)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) -d $(call GenerateResultPaths,,usr/lib)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/../../lib/libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so.1)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6.0.14)
+ $(Verbose)ln -sf libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6)
diff --git a/codesourcery-sourcery-gxx-2010q1-202.mak b/codesourcery-sourcery-gxx-2010q1-202.mak
new file mode 100644
index 0000000..6ec30eb
--- /dev/null
+++ b/codesourcery-sourcery-gxx-2010q1-202.mak
@@ -0,0 +1,30 @@
+#
+# Copyright (c) 2010 Nest Labs, Inc.
+# All rights reserved.
+#
+# This document is the property of Nest Labs. It is considered
+# confidential and proprietary information.
+#
+# This document may not be reproduced or transmitted in any form,
+# in whole or in part, without the express written permission of
+# Nest Labs.
+#
+# Description:
+# This file is the makefile for the CodeSourcery Sourcery G++
+# 2010q1-202-specific staging rules and commands for the GNU C++
+# Standard Library.
+#
+
+# Stage the build to a temporary installation area.
+#
+# Per the comments at the top of this file, we simply pull the tool
+# chain's C++ library. We also appear to need libgcc.
+
+.PHONY: stage
+stage: build | $(ResultDirectory)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) -d $(call GenerateResultPaths,,usr/lib)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/../../lib/libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so.1)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/libstdc++.so.6.0.12 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6.0.12)
+ $(Verbose)ln -sf libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.12 $(call GenerateResultPaths,,usr/lib/libstdc++.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.12 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6)
diff --git a/codesourcery-sourcery-gxx-2011.03-41.mak b/codesourcery-sourcery-gxx-2011.03-41.mak
new file mode 100644
index 0000000..8993bf6
--- /dev/null
+++ b/codesourcery-sourcery-gxx-2011.03-41.mak
@@ -0,0 +1,30 @@
+#
+# Copyright (c) 2011 Nest, Inc.
+# All rights reserved.
+#
+# This document is the property of Nest. It is considered
+# confidential and proprietary information.
+#
+# This document may not be reproduced or transmitted in any form,
+# in whole or in part, without the express written permission of
+# Nest.
+#
+# Description:
+# This file is the makefile for the CodeSourcery Sourcery G++
+# 2011.03-41-specific staging rules and commands for the GNU C++
+# Standard Library.
+#
+
+# Stage the build to a temporary installation area.
+#
+# Per the comments at the top of this file, we simply pull the tool
+# chain's C++ library. We also appear to need libgcc.
+
+.PHONY: stage
+stage: build | $(ResultDirectory)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) -d $(call GenerateResultPaths,,usr/lib)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/../../lib/libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so.1)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6.0.14)
+ $(Verbose)ln -sf libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6)
diff --git a/codesourcery-sourcery-gxx-4.4-179.mak b/codesourcery-sourcery-gxx-4.4-179.mak
new file mode 100644
index 0000000..cced44d
--- /dev/null
+++ b/codesourcery-sourcery-gxx-4.4-179.mak
@@ -0,0 +1,30 @@
+#
+# Copyright (c) 2011 Nest, Inc.
+# All rights reserved.
+#
+# This document is the property of Nest. It is considered
+# confidential and proprietary information.
+#
+# This document may not be reproduced or transmitted in any form,
+# in whole or in part, without the express written permission of
+# Nest.
+#
+# Description:
+# This file is the makefile for the CodeSourcery Sourcery G++
+# 4.4-179-specific staging rules and commands for the GNU C++
+# Standard Library.
+#
+
+# Stage the build to a temporary installation area.
+#
+# Per the comments at the top of this file, we simply pull the tool
+# chain's C++ library. We also appear to need libgcc.
+
+.PHONY: stage
+stage: build | $(ResultDirectory)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) -d $(call GenerateResultPaths,,usr/lib)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/../../lib/libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so.1)
+ $(Verbose)$(INSTALL) $(INSTALLFLAGS) $(ToolLibDir)/libstdc++.so.6.0.12 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6.0.12)
+ $(Verbose)ln -sf libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.12 $(call GenerateResultPaths,,usr/lib/libstdc++.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.12 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6)
diff --git a/denx-eldk-4.2.mak b/denx-eldk-4.2.mak
new file mode 100644
index 0000000..567fbab
--- /dev/null
+++ b/denx-eldk-4.2.mak
@@ -0,0 +1,29 @@
+#
+# Copyright (c) 2010 Nest Labs, Inc.
+# All rights reserved.
+#
+# This document is the property of Nest Labs. It is considered
+# confidential and proprietary information.
+#
+# This document may not be reproduced or transmitted in any form,
+# in whole or in part, without the express written permission of
+# Nest Labs.
+#
+# Description:
+# This file is the makefile for the DENX ELDK 4.2-specific
+# staging rules and commands for the GNU C++ Standard Library.
+#
+
+# Stage the build to a temporary installation area.
+#
+# Per the comments at the top of this file, we simply pull the tool
+# chain's C++ library. We also appear to need libgcc.
+
+.PHONY: stage
+stage: build | $(ResultDirectory)
+ $(Verbose)install -d $(call GenerateResultPaths,,usr/lib)
+ $(Verbose)install $(ToolLibDir)/libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so.1)
+ $(Verbose)install $(ToolLibDir)/libstdc++.so.6.0.9 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6.0.9)
+ $(Verbose)ln -sf libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.9 $(call GenerateResultPaths,,usr/lib/libstdc++.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.9 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6)
diff --git a/fsl-poky-1.6.2a.mak b/fsl-poky-1.6.2a.mak
new file mode 100644
index 0000000..7666649
--- /dev/null
+++ b/fsl-poky-1.6.2a.mak
@@ -0,0 +1,30 @@
+#
+# Copyright (c) 2014-2016 Nest Labs, Inc.
+# All rights reserved.
+#
+# This document is the property of Nest Labs. It is considered
+# confidential and proprietary information.
+#
+# This document may not be reproduced or transmitted in any form,
+# in whole or in part, without the express written permission of
+# Nest Labs.
+#
+# Description:
+# This file is the makefile for the GCC G++
+# staging rules and commands for the GNU C++
+# Standard Library.
+#
+
+# Stage the build to a temporary installation area.
+#
+# Per the comments at the top of this file, we simply pull the tool
+# chain's C++ library. We also appear to need libgcc.
+
+.PHONY: stage
+stage: | $(ResultDirectory)
+ $(Verbose)install -d $(call GenerateResultPaths,,usr/lib)
+ $(Verbose)install $(ToolLibDir)/libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so.1)
+ $(Verbose)install $(ToolLibDir)/../usr/lib/libstdc++.so.6.0.18 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6.0.18)
+ $(Verbose)ln -sf libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.18 $(call GenerateResultPaths,,usr/lib/libstdc++.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.18 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6)
diff --git a/mentor-sourcery-codebench-2011.03-65.mak b/mentor-sourcery-codebench-2011.03-65.mak
new file mode 100644
index 0000000..02c0ede
--- /dev/null
+++ b/mentor-sourcery-codebench-2011.03-65.mak
@@ -0,0 +1,30 @@
+#
+# Copyright (c) 2011 Nest, Inc.
+# All rights reserved.
+#
+# This document is the property of Nest. It is considered
+# confidential and proprietary information.
+#
+# This document may not be reproduced or transmitted in any form,
+# in whole or in part, without the express written permission of
+# Nest.
+#
+# Description:
+# This file is the makefile for the Mentor Graphics (formerly
+# CodeSourcery) Sourcery CodeBench 2011.03-65-specific staging
+# rules and commands for the GNU C++ Standard Library.
+#
+
+# Stage the build to a temporary installation area.
+#
+# Per the comments at the top of this file, we simply pull the tool
+# chain's C++ library. We also appear to need libgcc.
+
+.PHONY: stage
+stage: build | $(ResultDirectory)
+ $(Verbose)install -d $(call GenerateResultPaths,,usr/lib)
+ $(Verbose)install $(ToolLibDir)/../../lib/libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so.1)
+ $(Verbose)install $(ToolLibDir)/libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6.0.14)
+ $(Verbose)ln -sf libgcc_s.so.1 $(call GenerateResultPaths,,usr/lib/libgcc_s.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so)
+ $(Verbose)ln -sf libstdc++.so.6.0.14 $(call GenerateResultPaths,,usr/lib/libstdc++.so.6)