diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-10-27 13:49:38 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2017-11-05 12:14:48 +0000 |
commit | 4203865325c33d752f814850f43d2ecb16c8fa16 (patch) | |
tree | 8bf81042a356db74fad2905b46ea369a316e4309 /elements/bsp-generic.bst | |
parent | b917c363cc13b13ed553051844095469e1d6fc82 (diff) | |
download | definitions-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/bsp-generic.bst')
-rw-r--r-- | elements/bsp-generic.bst | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/elements/bsp-generic.bst b/elements/bsp-generic.bst index 7c16a328..47eb1871 100644 --- a/elements/bsp-generic.bst +++ b/elements/bsp-generic.bst @@ -5,12 +5,8 @@ description: | depends: - bsp-generic/linux.bst -arches: - x86_32: - depends: - - bsp-x86_64-generic/nasm.bst - - bsp-x86_64-generic/syslinux.bst - x86_64: - depends: - - bsp-x86_64-generic/nasm.bst - - bsp-x86_64-generic/syslinux.bst +(?): + - arch in ["x86_32", "x86_64"]: + depends: + - bsp-x86_64-generic/nasm.bst + - bsp-x86_64-generic/syslinux.bst |