[PATCH] build: Merge regulator build into library item

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Sep 13 06:00:33 UTC 2023


There is no need to use a separate build object item.
---
 spec/build/cpukit/librtemscpu.yml  |  5 +++--
 spec/build/cpukit/objregulator.yml | 18 ------------------
 2 files changed, 3 insertions(+), 20 deletions(-)
 delete mode 100644 spec/build/cpukit/objregulator.yml

diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml
index 7cf0863859..9061a8290c 100644
--- a/spec/build/cpukit/librtemscpu.yml
+++ b/spec/build/cpukit/librtemscpu.yml
@@ -152,6 +152,8 @@ install:
   - cpukit/include/rtems/recorddata.h
   - cpukit/include/rtems/recorddump.h
   - cpukit/include/rtems/recordserver.h
+  - cpukit/include/rtems/regulator.h
+  - cpukit/include/rtems/regulatorimpl.h
   - cpukit/include/rtems/ringbuf.h
   - cpukit/include/rtems/rtc.h
   - cpukit/include/rtems/rtems-debugger-remote-tcp.h
@@ -510,8 +512,6 @@ links:
   uid: objmpci
 - role: build-dependency
   uid: objpci
-- role: build-dependency
-  uid: objregulator
 - role: build-dependency
   uid: objpsxsgnl
 - role: build-dependency
@@ -950,6 +950,7 @@ source:
 - cpukit/libmisc/mouse/mouse_parser.c
 - cpukit/libmisc/mouse/serial_mouse.c
 - cpukit/libmisc/redirector/stdio-redirect.c
+- cpukit/libmisc/regulator/regulator.c
 - cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c
 - cpukit/libmisc/rtems-fdt/rtems-fdt.c
 - cpukit/libmisc/stackchk/check.c
diff --git a/spec/build/cpukit/objregulator.yml b/spec/build/cpukit/objregulator.yml
deleted file mode 100644
index 56d6154de9..0000000000
--- a/spec/build/cpukit/objregulator.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-build-type: objects
-cflags: []
-copyrights:
-- Copyright (C) 2023 OAR Corporatoin
-cppflags: []
-cxxflags: []
-enabled-by: true
-includes: []
-install:
-- destination: ${BSP_INCLUDEDIR}/rtems
-  source:
-  - cpukit/include/rtems/regulator.h
-  - cpukit/include/rtems/regulatorimpl.h
-links: []
-source:
-- cpukit/libmisc/regulator/regulator.c
-type: build
-- 
2.35.3



More information about the devel mailing list