From 4203865325c33d752f814850f43d2ecb16c8fa16 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Fri, 27 Oct 2017 13:49:38 +0000 Subject: 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. --- elements/bsp-generic.bst | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'elements/bsp-generic.bst') 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 -- cgit v1.2.1