summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-12-09 17:07:39 +0000
committerJavier Jardón <jjardon@gnome.org>2018-12-09 17:08:16 +0000
commitae0afce57940faeb3b19c61104418a14ca64897a (patch)
treea850822b8abf3c4db4a66cf6c11b276fb1d52eb6
parentdcb6b5e8bcf06e78fd41e44fd807e161a8414ccf (diff)
downloadbuildstream-jjardon/strip-binaries-removal.tar.gz
buildstream/buildelement.py: Document where to find strip commands for Linuxjjardon/strip-binaries-removal
-rw-r--r--buildstream/buildelement.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/buildstream/buildelement.py b/buildstream/buildelement.py
index f1b13e796..06c623590 100644
--- a/buildstream/buildelement.py
+++ b/buildstream/buildelement.py
@@ -35,6 +35,14 @@ This section will give a brief summary of how some of the common features work,
some of them or the variables they use will be further detailed in the following
sections.
+The `strip-binaries` variable
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+The `strip-binaries` variable is by default **empty**. You need to use the
+appropiate commands depending of the system you are building.
+If you are targetting Linux, ones known to work are the ones used by the
+`freedesktop-sdk <https://freedesktop-sdk.io/>`_, you can take a look to them in their
+`project.conf <https://gitlab.com/freedesktop-sdk/freedesktop-sdk/blob/freedesktop-sdk-18.08.21/project.conf#L74>`_
+
Location for running commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The ``command-subdir`` variable sets where the build commands will be executed,