summaryrefslogtreecommitdiff
path: root/buildstream/data
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-04 17:38:20 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-10 19:29:36 +0900
commit0df3d75e9de524b8bc8165b2055b4008724064c1 (patch)
tree77f520e88552650ed2225980eeb01064c811f1be /buildstream/data
parentbfcaa37e8fc0970651c64aa4f214b04e4a542725 (diff)
downloadbuildstream-0df3d75e9de524b8bc8165b2055b4008724064c1.tar.gz
project.py: Support project options
o Load the option definitions with the OptionPool o Set the user selected project option values according to the passed Context o Process conditionals in the loaded project configuration, excepting for the project name and actual option definitions o Removed a lot of examples from the default config. This is getting moved into more structured documentation, and the default config is only presented to the user beside the documentation which describes what each thing means.
Diffstat (limited to 'buildstream/data')
-rw-r--r--buildstream/data/projectconfig.yaml112
1 files changed, 0 insertions, 112 deletions
diff --git a/buildstream/data/projectconfig.yaml b/buildstream/data/projectconfig.yaml
index 2e47aa87b..aca021618 100644
--- a/buildstream/data/projectconfig.yaml
+++ b/buildstream/data/projectconfig.yaml
@@ -1,70 +1,8 @@
# Default BuildStream project configuration.
-# Project name
-#
-# name: myproject
-
-# Format version requirements
-#
-# Indicates the minimum required format version the
-# project requires.
-#
-required-versions:
-
- # The minimum base BuildStream format
- project: 0
-
- # A minimum plugin format version for each individual
- # plugin (as advertized by the plugin BST_FORMAT_VERSION
- # class attributes), may be asserted here.
- #
- # E.g., to require version 3 of the the autotools
- # element format:
- #
- # elements:
- # autotools: 3
- #
- elements: {}
- sources: {}
-
-# Base project relative element path, elements will be loaded
-# from this base.
-
-element-path: .
-
-# Alias configuration
-#
-# Aliases are entirely project specific, they are
-# configured as a simple dictionary, example:
-#
-# aliases:
-# baserock: git://git.baserock.org/baserock/
-# freedesktop: git://anongit.freedesktop.org/
-
-
-# Plugin path configuration
-#
-# You may specify one or more project relative paths to
-# subdirectories where plugins should be loaded from.
-#
-# plugins:
-#
-# elements:
-# - plugins/local-elements
-# - plugins/shared-elements
-#
-# sources:
-# - plugins/local-sources
-
# Variable Configuration
#
-# You may override the defaults of variables on a project wide
-# basis by specifying the 'variables' attribute.
-#
-# The defaults for this version of buildstream are listed
-# below.
-#
variables:
# Maximum number of parallel build processes within a given
@@ -147,18 +85,6 @@ environment-nocache: []
# Defaults for the 'split-rules' public data found on elements
# in the 'bst' domain.
#
-# These define patterns for categorizing the output of build
-# elements so that selective composition can be performed by
-# plugins later on.
-#
-# Elements may extend these rules by adding entries to the
-# various split domains either in a plugin definition or
-# in a project element declaration.
-#
-# Note that the split rules reported by
-# Element.get_public_data('bst') will have any variables for
-# the given element already expanded.
-#
split-rules:
# The runtime domain includes whatever is needed for the
@@ -233,41 +159,3 @@ split-rules:
%{datadir}/zoneinfo
- |
%{datadir}/zoneinfo/**
-
-#
-# Artifacts
-#
-artifacts:
-
- # A url from which to download prebuilt artifacts
- pull-url: ''
-
- # A url to upload built artifacts to
- # (must point to the same repository as pull-url)
- push-url: ''
-
- # Specify the port number for pushing artifacts, if it's
- # not the default port 22
- push-port: 22
-
-# Element Overrides
-#
-# Base attributes declared by element default yaml files
-# can be overridden on a project wide basis. The elements
-# dictionary can be used to override variables, environments
-# or plugin specific configuration data as shown below.
-#
-#
-# elements:
-#
-# autotools:
-#
-# variables:
-# bindir: "%{prefix}/bin"
-#
-# config:
-# configure-commands: ...
-#
-# environment:
-# PKG_CONFIG_PATH=%{libdir}/pkgconfig
-#