summaryrefslogtreecommitdiffstats
path: root/bsps/arm/lpc24xx/include/bsp
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 /bsps/arm/lpc24xx/include/bsp
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--bsps/arm/lpc24xx/include/bsp.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/bsp.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/dma.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/dma.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/i2c.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/i2c.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/io.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/io.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/irq.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/irq.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/lcd.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/lcd.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/lpc-clock-config.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/lpc-clock-config.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/lpc-ethernet-config.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/lpc-ethernet-config.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/lpc17xx.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/lpc17xx.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/lpc24xx.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/ssp.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/ssp.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/start-config.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/start-config.h)0
-rw-r--r--bsps/arm/lpc24xx/include/bsp/system-clocks.h (renamed from c/src/lib/libbsp/arm/lpc24xx/include/system-clocks.h)0
13 files changed, 0 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h b/bsps/arm/lpc24xx/include/bsp.h
index 5424808841..5424808841 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h
+++ b/bsps/arm/lpc24xx/include/bsp.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/dma.h b/bsps/arm/lpc24xx/include/bsp/dma.h
index b2e6c3e665..b2e6c3e665 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/dma.h
+++ b/bsps/arm/lpc24xx/include/bsp/dma.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/i2c.h b/bsps/arm/lpc24xx/include/bsp/i2c.h
index 42836ddfa8..42836ddfa8 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/i2c.h
+++ b/bsps/arm/lpc24xx/include/bsp/i2c.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/io.h b/bsps/arm/lpc24xx/include/bsp/io.h
index 9f58ee8efb..9f58ee8efb 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/io.h
+++ b/bsps/arm/lpc24xx/include/bsp/io.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/irq.h b/bsps/arm/lpc24xx/include/bsp/irq.h
index 0f0e473a0c..0f0e473a0c 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/irq.h
+++ b/bsps/arm/lpc24xx/include/bsp/irq.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/lcd.h b/bsps/arm/lpc24xx/include/bsp/lcd.h
index c415074bd4..c415074bd4 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/lcd.h
+++ b/bsps/arm/lpc24xx/include/bsp/lcd.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/lpc-clock-config.h b/bsps/arm/lpc24xx/include/bsp/lpc-clock-config.h
index 5e6b469e0f..5e6b469e0f 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/lpc-clock-config.h
+++ b/bsps/arm/lpc24xx/include/bsp/lpc-clock-config.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/lpc-ethernet-config.h b/bsps/arm/lpc24xx/include/bsp/lpc-ethernet-config.h
index d24f132567..d24f132567 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/lpc-ethernet-config.h
+++ b/bsps/arm/lpc24xx/include/bsp/lpc-ethernet-config.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/lpc17xx.h b/bsps/arm/lpc24xx/include/bsp/lpc17xx.h
index 9c35102e98..9c35102e98 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/lpc17xx.h
+++ b/bsps/arm/lpc24xx/include/bsp/lpc17xx.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h b/bsps/arm/lpc24xx/include/bsp/lpc24xx.h
index 64a910c041..64a910c041 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/lpc24xx.h
+++ b/bsps/arm/lpc24xx/include/bsp/lpc24xx.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/ssp.h b/bsps/arm/lpc24xx/include/bsp/ssp.h
index 1a77219d0e..1a77219d0e 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/ssp.h
+++ b/bsps/arm/lpc24xx/include/bsp/ssp.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/start-config.h b/bsps/arm/lpc24xx/include/bsp/start-config.h
index 4476cbdebe..4476cbdebe 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/start-config.h
+++ b/bsps/arm/lpc24xx/include/bsp/start-config.h
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/system-clocks.h b/bsps/arm/lpc24xx/include/bsp/system-clocks.h
index 564d12ec10..564d12ec10 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/system-clocks.h
+++ b/bsps/arm/lpc24xx/include/bsp/system-clocks.h