From 2365c93745617232bd4173e39331b6fb6c8b0a20 Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Thu, 3 Dec 2020 10:58:26 -0600 Subject: spec: Move zynq-uart into its own object Currently, zynq-uart code is always built and has some requirements for BSPs that use it. Instead of making all BSPs satisfy that requirement or working around it by setting defaults, this moves the zynq-uart code into its own spec build object so it can be included if needed. --- spec/build/bsps/objdevserialzynq.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 spec/build/bsps/objdevserialzynq.yml (limited to 'spec/build/bsps/objdevserialzynq.yml') diff --git a/spec/build/bsps/objdevserialzynq.yml b/spec/build/bsps/objdevserialzynq.yml new file mode 100644 index 0000000000..e890ebc459 --- /dev/null +++ b/spec/build/bsps/objdevserialzynq.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2020 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +includes: [] +install: +- destination: ${BSP_INCLUDEDIR}/dev/serial + source: + - bsps/include/dev/serial/zynq-uart-regs.h + - bsps/include/dev/serial/zynq-uart.h +links: [] +source: +- bsps/shared/dev/serial/zynq-uart.c +- bsps/shared/dev/serial/zynq-uart-polled.c +type: build -- cgit v1.2.3