From 6f2aa8ad36e3aaffc9fa2cb8c744b04da7339ee2 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 13 Jul 2021 20:47:08 -1000 Subject: build: Use BSP family for options - Optionally add support for 'default-by-family' to allow option to be set by a family and so all related BSPs Close #4468 --- spec/build/bsps/sh/gensh1/abi.yml | 1 + spec/build/bsps/sh/gensh1/optcpuclk.yml | 1 + spec/build/bsps/sh/gensh1/optlowinit.yml | 1 + spec/build/bsps/sh/gensh1/tstgensh1.yml | 1 + spec/build/bsps/sh/gensh2/abi.yml | 1 + spec/build/bsps/sh/gensh2/optcpuclk.yml | 1 + spec/build/bsps/sh/gensh2/optevb.yml | 1 + spec/build/bsps/sh/gensh2/optlowinit.yml | 1 + spec/build/bsps/sh/gensh2/tstgensh2.yml | 1 + spec/build/bsps/sh/gensh4/abi.yml | 1 + spec/build/bsps/sh/gensh4/optcpuclk.yml | 1 + spec/build/bsps/sh/gensh4/optcpydata.yml | 1 + spec/build/bsps/sh/gensh4/optlowinit.yml | 1 + spec/build/bsps/sh/shsim/abi.yml | 1 + spec/build/bsps/sh/shsim/optcpuclk.yml | 1 + spec/build/bsps/sh/shsim/optlowinit.yml | 1 + spec/build/bsps/sh/shsim/tstsimsh1.yml | 1 + spec/build/bsps/sh/shsim/tstsimsh2.yml | 1 + spec/build/bsps/sh/shsim/tstsimsh2e.yml | 1 + spec/build/bsps/sh/shsim/tstsimsh4.yml | 1 + 20 files changed, 20 insertions(+) (limited to 'spec/build/bsps/sh') diff --git a/spec/build/bsps/sh/gensh1/abi.yml b/spec/build/bsps/sh/gensh1/abi.yml index 4e3646562a..5fdaf358c8 100644 --- a/spec/build/bsps/sh/gensh1/abi.yml +++ b/spec/build/bsps/sh/gensh1/abi.yml @@ -8,6 +8,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: - -m1 +default-by-family: [] default-by-variant: [] description: | ABI flags diff --git a/spec/build/bsps/sh/gensh1/optcpuclk.yml b/spec/build/bsps/sh/gensh1/optcpuclk.yml index 086145a786..82a57e7eff 100644 --- a/spec/build/bsps/sh/gensh1/optcpuclk.yml +++ b/spec/build/bsps/sh/gensh1/optcpuclk.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: 20000000 +default-by-family: [] default-by-variant: [] description: | cpu clock rate in HZ diff --git a/spec/build/bsps/sh/gensh1/optlowinit.yml b/spec/build/bsps/sh/gensh1/optlowinit.yml index 60f16b388b..fb0c2a634e 100644 --- a/spec/build/bsps/sh/gensh1/optlowinit.yml +++ b/spec/build/bsps/sh/gensh1/optlowinit.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: false +default-by-family: [] default-by-variant: [] description: | If defined, selects whether 'early_hw_init()' is called from 'start.S'; 'bsp_hw_init()' is always called from 'bspstart.c' diff --git a/spec/build/bsps/sh/gensh1/tstgensh1.yml b/spec/build/bsps/sh/gensh1/tstgensh1.yml index 6851063503..73e80a58bb 100644 --- a/spec/build/bsps/sh/gensh1/tstgensh1.yml +++ b/spec/build/bsps/sh/gensh1/tstgensh1.yml @@ -11,6 +11,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true diff --git a/spec/build/bsps/sh/gensh2/abi.yml b/spec/build/bsps/sh/gensh2/abi.yml index 4bd34deb19..46c6b4b968 100644 --- a/spec/build/bsps/sh/gensh2/abi.yml +++ b/spec/build/bsps/sh/gensh2/abi.yml @@ -8,6 +8,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: - -m2 +default-by-family: [] default-by-variant: [] description: | ABI flags diff --git a/spec/build/bsps/sh/gensh2/optcpuclk.yml b/spec/build/bsps/sh/gensh2/optcpuclk.yml index 086145a786..82a57e7eff 100644 --- a/spec/build/bsps/sh/gensh2/optcpuclk.yml +++ b/spec/build/bsps/sh/gensh2/optcpuclk.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: 20000000 +default-by-family: [] default-by-variant: [] description: | cpu clock rate in HZ diff --git a/spec/build/bsps/sh/gensh2/optevb.yml b/spec/build/bsps/sh/gensh2/optevb.yml index 45d1a7d0bc..6cfce3c962 100644 --- a/spec/build/bsps/sh/gensh2/optevb.yml +++ b/spec/build/bsps/sh/gensh2/optevb.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: false +default-by-family: [] default-by-variant: [] description: | If defined, compiles code to jump-start from FLASH, without a monitor diff --git a/spec/build/bsps/sh/gensh2/optlowinit.yml b/spec/build/bsps/sh/gensh2/optlowinit.yml index 60f16b388b..fb0c2a634e 100644 --- a/spec/build/bsps/sh/gensh2/optlowinit.yml +++ b/spec/build/bsps/sh/gensh2/optlowinit.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: false +default-by-family: [] default-by-variant: [] description: | If defined, selects whether 'early_hw_init()' is called from 'start.S'; 'bsp_hw_init()' is always called from 'bspstart.c' diff --git a/spec/build/bsps/sh/gensh2/tstgensh2.yml b/spec/build/bsps/sh/gensh2/tstgensh2.yml index 6851063503..73e80a58bb 100644 --- a/spec/build/bsps/sh/gensh2/tstgensh2.yml +++ b/spec/build/bsps/sh/gensh2/tstgensh2.yml @@ -11,6 +11,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true diff --git a/spec/build/bsps/sh/gensh4/abi.yml b/spec/build/bsps/sh/gensh4/abi.yml index cc406a30b6..5796fa3416 100644 --- a/spec/build/bsps/sh/gensh4/abi.yml +++ b/spec/build/bsps/sh/gensh4/abi.yml @@ -9,6 +9,7 @@ copyrights: default: - -m4 - -ml +default-by-family: [] default-by-variant: [] description: | ABI flags diff --git a/spec/build/bsps/sh/gensh4/optcpuclk.yml b/spec/build/bsps/sh/gensh4/optcpuclk.yml index 086145a786..82a57e7eff 100644 --- a/spec/build/bsps/sh/gensh4/optcpuclk.yml +++ b/spec/build/bsps/sh/gensh4/optcpuclk.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: 20000000 +default-by-family: [] default-by-variant: [] description: | cpu clock rate in HZ diff --git a/spec/build/bsps/sh/gensh4/optcpydata.yml b/spec/build/bsps/sh/gensh4/optcpydata.yml index 7d49b9b781..68501f20ca 100644 --- a/spec/build/bsps/sh/gensh4/optcpydata.yml +++ b/spec/build/bsps/sh/gensh4/optcpydata.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: false +default-by-family: [] default-by-variant: [] description: | Whether to copy data from ROM to RAM in start.S diff --git a/spec/build/bsps/sh/gensh4/optlowinit.yml b/spec/build/bsps/sh/gensh4/optlowinit.yml index 2a90a73753..f0a728dc2a 100644 --- a/spec/build/bsps/sh/gensh4/optlowinit.yml +++ b/spec/build/bsps/sh/gensh4/optlowinit.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: false +default-by-family: [] default-by-variant: [] description: | Whether to call early_hw_init from start.S diff --git a/spec/build/bsps/sh/shsim/abi.yml b/spec/build/bsps/sh/shsim/abi.yml index f5dcf145dc..a2bed43564 100644 --- a/spec/build/bsps/sh/shsim/abi.yml +++ b/spec/build/bsps/sh/shsim/abi.yml @@ -9,6 +9,7 @@ copyrights: default: - -m4 - -ml +default-by-family: [] default-by-variant: - value: - -m2e diff --git a/spec/build/bsps/sh/shsim/optcpuclk.yml b/spec/build/bsps/sh/shsim/optcpuclk.yml index 086145a786..82a57e7eff 100644 --- a/spec/build/bsps/sh/shsim/optcpuclk.yml +++ b/spec/build/bsps/sh/shsim/optcpuclk.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: 20000000 +default-by-family: [] default-by-variant: [] description: | cpu clock rate in HZ diff --git a/spec/build/bsps/sh/shsim/optlowinit.yml b/spec/build/bsps/sh/shsim/optlowinit.yml index 60f16b388b..fb0c2a634e 100644 --- a/spec/build/bsps/sh/shsim/optlowinit.yml +++ b/spec/build/bsps/sh/shsim/optlowinit.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: false +default-by-family: [] default-by-variant: [] description: | If defined, selects whether 'early_hw_init()' is called from 'start.S'; 'bsp_hw_init()' is always called from 'bspstart.c' diff --git a/spec/build/bsps/sh/shsim/tstsimsh1.yml b/spec/build/bsps/sh/shsim/tstsimsh1.yml index a915754a76..70abb452a7 100644 --- a/spec/build/bsps/sh/shsim/tstsimsh1.yml +++ b/spec/build/bsps/sh/shsim/tstsimsh1.yml @@ -11,6 +11,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true diff --git a/spec/build/bsps/sh/shsim/tstsimsh2.yml b/spec/build/bsps/sh/shsim/tstsimsh2.yml index a915754a76..70abb452a7 100644 --- a/spec/build/bsps/sh/shsim/tstsimsh2.yml +++ b/spec/build/bsps/sh/shsim/tstsimsh2.yml @@ -11,6 +11,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true diff --git a/spec/build/bsps/sh/shsim/tstsimsh2e.yml b/spec/build/bsps/sh/shsim/tstsimsh2e.yml index a915754a76..70abb452a7 100644 --- a/spec/build/bsps/sh/shsim/tstsimsh2e.yml +++ b/spec/build/bsps/sh/shsim/tstsimsh2e.yml @@ -11,6 +11,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true diff --git a/spec/build/bsps/sh/shsim/tstsimsh4.yml b/spec/build/bsps/sh/shsim/tstsimsh4.yml index a915754a76..70abb452a7 100644 --- a/spec/build/bsps/sh/shsim/tstsimsh4.yml +++ b/spec/build/bsps/sh/shsim/tstsimsh4.yml @@ -11,6 +11,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: null +default-by-family: [] default-by-variant: [] description: '' enabled-by: true -- cgit v1.2.3