diff options
Diffstat (limited to '')
-rw-r--r-- | spec/build/bsps/i386/pc386/optgdtdesc.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/spec/build/bsps/i386/pc386/optgdtdesc.yml b/spec/build/bsps/i386/pc386/optgdtdesc.yml new file mode 100644 index 0000000000..8898bf4726 --- /dev/null +++ b/spec/build/bsps/i386/pc386/optgdtdesc.yml @@ -0,0 +1,26 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- script: | + if "USE_CIRRUS_GD5446" not in conf.env.ENABLE and "USE_VGA" not in conf.env.ENABLE: + if "USE_VBE_RM" not in conf.env.ENABLE: + conf.fatal( + "USE_VBE_RM must be enabled in case USE_CIRRUS_GD5446 and USE_VGA are disabled" + ) + if value: + value += 2 + else: + value = 2 +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 0 +default-by-variant: [] +description: | + Defines how many descriptors in GDT may be allocated for application or driver usage. +enabled-by: true +format: '{}' +links: [] +name: NUM_APP_DRV_GDT_DESCRIPTORS +type: build |