[rtems commit] build: Include cpuopts.h in "config.h"

Sebastian Huber sebh at rtems.org
Wed Sep 30 11:02:05 UTC 2020


Module:    rtems
Branch:    master
Commit:    31c333d71c5146edac27566e6d066b73a411739e
Changeset: http://git.rtems.org/rtems/commit/?id=31c333d71c5146edac27566e6d066b73a411739e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Sep 30 12:30:11 2020 +0200

build: Include cpuopts.h in "config.h"

The Autoconf/Automake build system did something similar.  This fixes
the build of sigprogmask.c which uses RTEMS_POSIX_API and expects to get
it defined via "config.h".

Update #3818.

---

 spec/build/cpukit/cfghdr.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/spec/build/cpukit/cfghdr.yml b/spec/build/cpukit/cfghdr.yml
index 8106a3e..58407fb 100644
--- a/spec/build/cpukit/cfghdr.yml
+++ b/spec/build/cpukit/cfghdr.yml
@@ -4,7 +4,8 @@ copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 enabled-by: true
 guard: ''
-include-headers: []
+include-headers:
+- rtems/score/cpuopts.h
 install-path: null
 links:
 - role: build-dependency



More information about the vc mailing list