summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/rtems
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-12-23 18:18:56 +1100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-25 08:45:26 +0100
commit2afb22b7e1ebcbe40373ff7e0efae7d207c655a9 (patch)
tree44759efe9374f13200a97e96d91bd9a2b7e5ce2a /cpukit/sapi/include/rtems
parentMAINTAINERS: Add myself to Write After Approval. (diff)
downloadrtems-2afb22b7e1ebcbe40373ff7e0efae7d207c655a9.tar.bz2
Remove make preinstall
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
Diffstat (limited to '')
-rw-r--r--cpukit/include/rtems/bsd.h (renamed from cpukit/sapi/include/rtems/bsd.h)0
-rw-r--r--cpukit/include/rtems/cbs.h (renamed from cpukit/sapi/include/rtems/cbs.h)0
-rw-r--r--cpukit/include/rtems/chain.h (renamed from cpukit/sapi/include/rtems/chain.h)0
-rw-r--r--cpukit/include/rtems/config.h (renamed from cpukit/sapi/include/rtems/config.h)0
-rw-r--r--cpukit/include/rtems/counter.h (renamed from cpukit/sapi/include/rtems/counter.h)0
-rw-r--r--cpukit/include/rtems/extension.h (renamed from cpukit/sapi/include/rtems/extension.h)0
-rw-r--r--cpukit/include/rtems/extensionimpl.h (renamed from cpukit/sapi/include/rtems/extensionimpl.h)0
-rw-r--r--cpukit/include/rtems/fatal.h (renamed from cpukit/sapi/include/rtems/fatal.h)0
-rw-r--r--cpukit/include/rtems/init.h (renamed from cpukit/sapi/include/rtems/init.h)0
-rw-r--r--cpukit/include/rtems/io.h (renamed from cpukit/sapi/include/rtems/io.h)0
-rw-r--r--cpukit/include/rtems/ioimpl.h (renamed from cpukit/sapi/include/rtems/ioimpl.h)0
-rw-r--r--cpukit/include/rtems/mptables.h (renamed from cpukit/sapi/include/rtems/mptables.h)0
-rw-r--r--cpukit/include/rtems/profiling.h (renamed from cpukit/sapi/include/rtems/profiling.h)0
-rw-r--r--cpukit/include/rtems/rbheap.h (renamed from cpukit/sapi/include/rtems/rbheap.h)0
-rw-r--r--cpukit/include/rtems/rbtree.h (renamed from cpukit/sapi/include/rtems/rbtree.h)0
-rw-r--r--cpukit/include/rtems/scheduler.h (renamed from cpukit/sapi/include/rtems/scheduler.h)0
-rw-r--r--cpukit/include/rtems/timecounter.h (renamed from cpukit/sapi/include/rtems/timecounter.h)0
-rw-r--r--cpukit/include/rtems/timespec.h (renamed from cpukit/sapi/include/rtems/timespec.h)0
-rw-r--r--cpukit/include/rtems/version.h (renamed from cpukit/sapi/include/rtems/version.h)0
19 files changed, 0 insertions, 0 deletions
diff --git a/cpukit/sapi/include/rtems/bsd.h b/cpukit/include/rtems/bsd.h
index 0c44e3787d..0c44e3787d 100644
--- a/cpukit/sapi/include/rtems/bsd.h
+++ b/cpukit/include/rtems/bsd.h
diff --git a/cpukit/sapi/include/rtems/cbs.h b/cpukit/include/rtems/cbs.h
index a42061ddc0..a42061ddc0 100644
--- a/cpukit/sapi/include/rtems/cbs.h
+++ b/cpukit/include/rtems/cbs.h
diff --git a/cpukit/sapi/include/rtems/chain.h b/cpukit/include/rtems/chain.h
index f0e7ee4f40..f0e7ee4f40 100644
--- a/cpukit/sapi/include/rtems/chain.h
+++ b/cpukit/include/rtems/chain.h
diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/include/rtems/config.h
index 6b97376511..6b97376511 100644
--- a/cpukit/sapi/include/rtems/config.h
+++ b/cpukit/include/rtems/config.h
diff --git a/cpukit/sapi/include/rtems/counter.h b/cpukit/include/rtems/counter.h
index 3b428402a8..3b428402a8 100644
--- a/cpukit/sapi/include/rtems/counter.h
+++ b/cpukit/include/rtems/counter.h
diff --git a/cpukit/sapi/include/rtems/extension.h b/cpukit/include/rtems/extension.h
index f22abf7f18..f22abf7f18 100644
--- a/cpukit/sapi/include/rtems/extension.h
+++ b/cpukit/include/rtems/extension.h
diff --git a/cpukit/sapi/include/rtems/extensionimpl.h b/cpukit/include/rtems/extensionimpl.h
index fb4eeaff7c..fb4eeaff7c 100644
--- a/cpukit/sapi/include/rtems/extensionimpl.h
+++ b/cpukit/include/rtems/extensionimpl.h
diff --git a/cpukit/sapi/include/rtems/fatal.h b/cpukit/include/rtems/fatal.h
index 291af42c6e..291af42c6e 100644
--- a/cpukit/sapi/include/rtems/fatal.h
+++ b/cpukit/include/rtems/fatal.h
diff --git a/cpukit/sapi/include/rtems/init.h b/cpukit/include/rtems/init.h
index fa3108ea50..fa3108ea50 100644
--- a/cpukit/sapi/include/rtems/init.h
+++ b/cpukit/include/rtems/init.h
diff --git a/cpukit/sapi/include/rtems/io.h b/cpukit/include/rtems/io.h
index 760d412bb8..760d412bb8 100644
--- a/cpukit/sapi/include/rtems/io.h
+++ b/cpukit/include/rtems/io.h
diff --git a/cpukit/sapi/include/rtems/ioimpl.h b/cpukit/include/rtems/ioimpl.h
index 5c4a82eea6..5c4a82eea6 100644
--- a/cpukit/sapi/include/rtems/ioimpl.h
+++ b/cpukit/include/rtems/ioimpl.h
diff --git a/cpukit/sapi/include/rtems/mptables.h b/cpukit/include/rtems/mptables.h
index 01e5b653b4..01e5b653b4 100644
--- a/cpukit/sapi/include/rtems/mptables.h
+++ b/cpukit/include/rtems/mptables.h
diff --git a/cpukit/sapi/include/rtems/profiling.h b/cpukit/include/rtems/profiling.h
index 9e434b2a3c..9e434b2a3c 100644
--- a/cpukit/sapi/include/rtems/profiling.h
+++ b/cpukit/include/rtems/profiling.h
diff --git a/cpukit/sapi/include/rtems/rbheap.h b/cpukit/include/rtems/rbheap.h
index 735aa6c8fd..735aa6c8fd 100644
--- a/cpukit/sapi/include/rtems/rbheap.h
+++ b/cpukit/include/rtems/rbheap.h
diff --git a/cpukit/sapi/include/rtems/rbtree.h b/cpukit/include/rtems/rbtree.h
index 57821cf31d..57821cf31d 100644
--- a/cpukit/sapi/include/rtems/rbtree.h
+++ b/cpukit/include/rtems/rbtree.h
diff --git a/cpukit/sapi/include/rtems/scheduler.h b/cpukit/include/rtems/scheduler.h
index 8684b798f7..8684b798f7 100644
--- a/cpukit/sapi/include/rtems/scheduler.h
+++ b/cpukit/include/rtems/scheduler.h
diff --git a/cpukit/sapi/include/rtems/timecounter.h b/cpukit/include/rtems/timecounter.h
index 8d1bd78618..8d1bd78618 100644
--- a/cpukit/sapi/include/rtems/timecounter.h
+++ b/cpukit/include/rtems/timecounter.h
diff --git a/cpukit/sapi/include/rtems/timespec.h b/cpukit/include/rtems/timespec.h
index e82d271492..e82d271492 100644
--- a/cpukit/sapi/include/rtems/timespec.h
+++ b/cpukit/include/rtems/timespec.h
diff --git a/cpukit/sapi/include/rtems/version.h b/cpukit/include/rtems/version.h
index b806cb8c2f..b806cb8c2f 100644
--- a/cpukit/sapi/include/rtems/version.h
+++ b/cpukit/include/rtems/version.h