summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-package-canadian-sdk.inc
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-01-27 18:03:07 -0500
committerTom Rini <trini@embeddedalley.com>2009-01-27 18:03:07 -0500
commit2ae4d66192f2db96bbd79ddcc33e6aac7c1bd960 (patch)
tree11a2c7c90703d8034d755297e156b420c075c8e7 /packages/gcc/gcc-package-canadian-sdk.inc
parentffee230ed0b6c49ef4a0b23bc850b843c429f19a (diff)
parent04c9615b938eaabfbadc99c1707eb44657c95a61 (diff)
Merge trini/canadian-merge branch into org.openembedded.dev, fixup a
conflict on checksums.ini
Diffstat (limited to 'packages/gcc/gcc-package-canadian-sdk.inc')
-rw-r--r--packages/gcc/gcc-package-canadian-sdk.inc39
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/gcc/gcc-package-canadian-sdk.inc b/packages/gcc/gcc-package-canadian-sdk.inc
new file mode 100644
index 0000000000..dff53cdd96
--- /dev/null
+++ b/packages/gcc/gcc-package-canadian-sdk.inc
@@ -0,0 +1,39 @@
+require gcc-package-sdk.inc
+
+PACKAGES += "libgcc libgcc-dev libgfortran-dev libmudflap libmudflap-dev"
+
+FILES_libgcc = "${libdir}/libgcc*.so.*"
+FILES_libgcc-dev = "${libdir}/libgcc*.so"
+
+FILES_libstdc++ = "${libdir}/libstdc++.so.*"
+FILES_libstdc++-dev = "\
+ ${incluedir}/c++/${BINV} \
+ ${libdir}/libstdc++.so \
+ ${libdir}/libstdc++.la \
+ ${libdir}/libstdc++.a \
+ ${libdir}/libsupc++.la \
+ ${libdir}/libsupc++.a \
+"
+
+FILES_libgfortran-dev = "${libdir}/libgfortran.a \
+ ${libdir}/libgfortran.so \
+ ${libdir}/libgfortranbegin.a"
+
+FILES_libmudflap = "${libdir}/libmudflap*.so.*"
+FILES_libmudflap-dev = "\
+ ${libdir}/libmudflap*.so \
+ ${libdir}/libmudflap*.a \
+ ${libdir}/libmudflap*.a \
+"
+
+# Packages emitted by our gcc-cross builds.
+#
+INHIBIT_PACKAGE_STRIP ?= ""
+OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}"
+INHIBIT_PACKAGE_STRIP = "1"
+
+python do_package() {
+ if bb.data.getVar('DEBIAN_NAMES', d, 1):
+ bb.data.setVar('PKG_libgcc', 'libgcc1', d)
+ bb.build.exec_func('package_do_package', d)
+}