From f3f0370f1054f4e49aa8f5ea70485d673e8e94b6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 19 Jul 2019 13:09:43 +0200 Subject: build: Alternative build system based on waf Update #3818. --- spec/build/bsps/i386/pc386/optgdtdesc.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 spec/build/bsps/i386/pc386/optgdtdesc.yml (limited to 'spec/build/bsps/i386/pc386/optgdtdesc.yml') 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 -- cgit v1.2.3