summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-03-25 17:51:59 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-09-25 15:04:04 (GMT)
commit80f23407c109b22e2c877a1114abac5b3a33918f (patch)
tree6891bbe1b43bf7afccad49878eb099725e106067
parentf43322b9096a1e51c9ea2476f51f7fb313e3a1ce (diff)
downloaddefinitions-baserock/pedroalvarez/finer-splitting-gcc.tar.gz
gcc.morph: Define splitting rulesbaserock/pedroalvarez/finer-splitting-gcc
-rw-r--r--strata/build-essential/gcc.morph17
1 files changed, 17 insertions, 0 deletions
diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph
index db23819..c70fc6b 100644
--- a/strata/build-essential/gcc.morph
+++ b/strata/build-essential/gcc.morph
@@ -1,5 +1,22 @@
name: gcc
kind: chunk
+
+products:
+- artifact: gcc-libs
+ include:
+ - (usr/)lib/lib.*\.so(\.\d+)*$
+- artifact: gcc-doc
+ include:
+ - (usr/)?share/doc/.*
+ - (usr/)?share/man/.*
+ - (usr/)?share/info/.*
+- artifact: gcc-devel
+ # devel includes everything which isn't documentation or libs, since
+ # everything else gcc produces is required for compiling
+ # this is the -devel artifact instead of -misc, since it goes in -devel
+ # stratum artifacts by default
+ include: [ .* ]
+
configure-commands:
- mkdir o