summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/base.bst
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-10-27 13:49:38 +0000
committerJavier Jardón <jjardon@gnome.org>2017-11-05 12:14:48 +0000
commit4203865325c33d752f814850f43d2ecb16c8fa16 (patch)
tree8bf81042a356db74fad2905b46ea369a316e4309 /elements/gnu-toolchain/base.bst
parentb917c363cc13b13ed553051844095469e1d6fc82 (diff)
downloaddefinitions-4203865325c33d752f814850f43d2ecb16c8fa16.tar.gz
Replace use of architecture conditionals with generic project conditions
The initial implementation of architecture conditionals has been removed, as the same behaviours can be implemented using the more generic mechanism for conditionals that is being introduced for BuildStream 1.0. We now have two architecture options: build_arch and arch. They are documented in project.conf. The first one controls the build sandbox while the second controls the host and target of the binaries we produce.
Diffstat (limited to 'elements/gnu-toolchain/base.bst')
-rw-r--r--elements/gnu-toolchain/base.bst14
1 files changed, 7 insertions, 7 deletions
diff --git a/elements/gnu-toolchain/base.bst b/elements/gnu-toolchain/base.bst
index 9b364fca..50f01240 100644
--- a/elements/gnu-toolchain/base.bst
+++ b/elements/gnu-toolchain/base.bst
@@ -6,10 +6,10 @@ public:
bst:
integration-commands:
- /usr/bin/ldconfig
-host-arches:
- x86_64:
- sources:
- - kind: ostree
- url: https://ostree.baserock.org/releases/
- track: stage3-sysroot/x86_64
- ref: a9a66b162cb158078cb67e1ba94a8947d1076463f2e5e429caa416f311ac0a01
+(?):
+ - build_arch == "x86_64":
+ sources:
+ - kind: ostree
+ url: https://ostree.baserock.org/releases/
+ track: stage3-sysroot/x86_64
+ ref: a9a66b162cb158078cb67e1ba94a8947d1076463f2e5e429caa416f311ac0a01