summaryrefslogtreecommitdiffstats
path: root/bsps/arm/lpc176x/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/lpc176x/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/lpc176x/include/bsp.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/bsp.h)0
-rwxr-xr-xbsps/arm/lpc176x/include/bsp/adc-defs.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/adc-defs.h)0
-rwxr-xr-xbsps/arm/lpc176x/include/bsp/adc.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/adc.h)0
-rwxr-xr-xbsps/arm/lpc176x/include/bsp/can-defs.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/can-defs.h)0
-rwxr-xr-xbsps/arm/lpc176x/include/bsp/can.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/can.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/common-types.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/common-types.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/dma.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/dma.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/gpio-defs.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/gpio-defs.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/io-defs.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/io-defs.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/io.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/io.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/irq.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/irq.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/lpc-clock-config.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/lpc-clock-config.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/lpc-gpio.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/lpc-gpio.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/lpc176x.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/lpc176x.h)0
-rwxr-xr-xbsps/arm/lpc176x/include/bsp/mbed-pinmap.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/mbed-pinmap.h)0
-rwxr-xr-xbsps/arm/lpc176x/include/bsp/pwmout-defs.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/pwmout-defs.h)0
-rwxr-xr-xbsps/arm/lpc176x/include/bsp/pwmout.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/pwmout.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/system-clocks.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/system-clocks.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/timer-defs.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/timer-defs.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/timer.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/timer.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/watchdog-defs.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/watchdog-defs.h)0
-rw-r--r--bsps/arm/lpc176x/include/bsp/watchdog.h (renamed from c/src/lib/libbsp/arm/lpc176x/include/watchdog.h)0
22 files changed, 0 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/bsp.h b/bsps/arm/lpc176x/include/bsp.h
index e81e1cd53c..e81e1cd53c 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/bsp.h
+++ b/bsps/arm/lpc176x/include/bsp.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/adc-defs.h b/bsps/arm/lpc176x/include/bsp/adc-defs.h
index 3daca807b7..3daca807b7 100755
--- a/c/src/lib/libbsp/arm/lpc176x/include/adc-defs.h
+++ b/bsps/arm/lpc176x/include/bsp/adc-defs.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/adc.h b/bsps/arm/lpc176x/include/bsp/adc.h
index 34df8b7efd..34df8b7efd 100755
--- a/c/src/lib/libbsp/arm/lpc176x/include/adc.h
+++ b/bsps/arm/lpc176x/include/bsp/adc.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/can-defs.h b/bsps/arm/lpc176x/include/bsp/can-defs.h
index 4db229eb1c..4db229eb1c 100755
--- a/c/src/lib/libbsp/arm/lpc176x/include/can-defs.h
+++ b/bsps/arm/lpc176x/include/bsp/can-defs.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/can.h b/bsps/arm/lpc176x/include/bsp/can.h
index 7515ec2f53..7515ec2f53 100755
--- a/c/src/lib/libbsp/arm/lpc176x/include/can.h
+++ b/bsps/arm/lpc176x/include/bsp/can.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/common-types.h b/bsps/arm/lpc176x/include/bsp/common-types.h
index 943ff288a9..943ff288a9 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/common-types.h
+++ b/bsps/arm/lpc176x/include/bsp/common-types.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/dma.h b/bsps/arm/lpc176x/include/bsp/dma.h
index 65edfc4e30..65edfc4e30 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/dma.h
+++ b/bsps/arm/lpc176x/include/bsp/dma.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/gpio-defs.h b/bsps/arm/lpc176x/include/bsp/gpio-defs.h
index c6ed499d35..c6ed499d35 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/gpio-defs.h
+++ b/bsps/arm/lpc176x/include/bsp/gpio-defs.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/io-defs.h b/bsps/arm/lpc176x/include/bsp/io-defs.h
index f9cf3dbbbd..f9cf3dbbbd 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/io-defs.h
+++ b/bsps/arm/lpc176x/include/bsp/io-defs.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/io.h b/bsps/arm/lpc176x/include/bsp/io.h
index 4a8510479c..4a8510479c 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/io.h
+++ b/bsps/arm/lpc176x/include/bsp/io.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/irq.h b/bsps/arm/lpc176x/include/bsp/irq.h
index 719608c8f7..719608c8f7 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/irq.h
+++ b/bsps/arm/lpc176x/include/bsp/irq.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/lpc-clock-config.h b/bsps/arm/lpc176x/include/bsp/lpc-clock-config.h
index 3eef02152e..3eef02152e 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/lpc-clock-config.h
+++ b/bsps/arm/lpc176x/include/bsp/lpc-clock-config.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/lpc-gpio.h b/bsps/arm/lpc176x/include/bsp/lpc-gpio.h
index 9cb23df142..9cb23df142 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/lpc-gpio.h
+++ b/bsps/arm/lpc176x/include/bsp/lpc-gpio.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/lpc176x.h b/bsps/arm/lpc176x/include/bsp/lpc176x.h
index f10991f346..f10991f346 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/lpc176x.h
+++ b/bsps/arm/lpc176x/include/bsp/lpc176x.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/mbed-pinmap.h b/bsps/arm/lpc176x/include/bsp/mbed-pinmap.h
index 3556bc5fbf..3556bc5fbf 100755
--- a/c/src/lib/libbsp/arm/lpc176x/include/mbed-pinmap.h
+++ b/bsps/arm/lpc176x/include/bsp/mbed-pinmap.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/pwmout-defs.h b/bsps/arm/lpc176x/include/bsp/pwmout-defs.h
index f55b154a05..f55b154a05 100755
--- a/c/src/lib/libbsp/arm/lpc176x/include/pwmout-defs.h
+++ b/bsps/arm/lpc176x/include/bsp/pwmout-defs.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/pwmout.h b/bsps/arm/lpc176x/include/bsp/pwmout.h
index 1427fc5f3e..1427fc5f3e 100755
--- a/c/src/lib/libbsp/arm/lpc176x/include/pwmout.h
+++ b/bsps/arm/lpc176x/include/bsp/pwmout.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/system-clocks.h b/bsps/arm/lpc176x/include/bsp/system-clocks.h
index 26087ff3e9..26087ff3e9 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/system-clocks.h
+++ b/bsps/arm/lpc176x/include/bsp/system-clocks.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/timer-defs.h b/bsps/arm/lpc176x/include/bsp/timer-defs.h
index 3827aa9279..3827aa9279 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/timer-defs.h
+++ b/bsps/arm/lpc176x/include/bsp/timer-defs.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/timer.h b/bsps/arm/lpc176x/include/bsp/timer.h
index 6805b55f0e..6805b55f0e 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/timer.h
+++ b/bsps/arm/lpc176x/include/bsp/timer.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/watchdog-defs.h b/bsps/arm/lpc176x/include/bsp/watchdog-defs.h
index 44ea80527e..44ea80527e 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/watchdog-defs.h
+++ b/bsps/arm/lpc176x/include/bsp/watchdog-defs.h
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/watchdog.h b/bsps/arm/lpc176x/include/bsp/watchdog.h
index 8b5f033605..8b5f033605 100644
--- a/c/src/lib/libbsp/arm/lpc176x/include/watchdog.h
+++ b/bsps/arm/lpc176x/include/bsp/watchdog.h