diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-27 06:23:29 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-27 09:36:56 +0100 |
commit | 642ef003ec0b62ede17acf5d2c4af2d2a3d35f66 (patch) | |
tree | cdf87e06a031af29ebe018cbc8b4b8442cd783aa /c/src/lib/libbsp/arm/atsam | |
parent | Move Ada includes (diff) | |
download | rtems-642ef003ec0b62ede17acf5d2c4af2d2a3d35f66.tar.bz2 |
bsps: Provide <tm27.h> in each BSP
Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP. Without the
preinstall build target each header file must have a unique source
header file.
Update #3254.
Diffstat (limited to 'c/src/lib/libbsp/arm/atsam')
-rw-r--r-- | c/src/lib/libbsp/arm/atsam/Makefile.am | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/arm/atsam/include/tm27.h | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/arm/atsam/preinstall.am | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/arm/atsam/Makefile.am b/c/src/lib/libbsp/arm/atsam/Makefile.am index 170d818904..3d8970c6de 100644 --- a/c/src/lib/libbsp/arm/atsam/Makefile.am +++ b/c/src/lib/libbsp/arm/atsam/Makefile.am @@ -25,7 +25,7 @@ project_lib_DATA += startup/linkcmds.qspiflash ############################################################################### include_HEADERS = -include_HEADERS += ../../shared/include/tm27.h +include_HEADERS += include/tm27.h include_HEADERS += ../shared/CMSIS/Include/core_cm7.h include_HEADERS += ../shared/CMSIS/Include/core_cmInstr.h include_HEADERS += ../shared/CMSIS/Include/core_cmFunc.h diff --git a/c/src/lib/libbsp/arm/atsam/include/tm27.h b/c/src/lib/libbsp/arm/atsam/include/tm27.h new file mode 100644 index 0000000000..0dfa7bf628 --- /dev/null +++ b/c/src/lib/libbsp/arm/atsam/include/tm27.h @@ -0,0 +1 @@ +#include <rtems/tm27-default.h> diff --git a/c/src/lib/libbsp/arm/atsam/preinstall.am b/c/src/lib/libbsp/arm/atsam/preinstall.am index ce7f526d36..ad68cfd591 100644 --- a/c/src/lib/libbsp/arm/atsam/preinstall.am +++ b/c/src/lib/libbsp/arm/atsam/preinstall.am @@ -56,7 +56,7 @@ $(PROJECT_LIB)/linkcmds.qspiflash: startup/linkcmds.qspiflash $(PROJECT_LIB)/$(d $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.qspiflash TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.qspiflash -$(PROJECT_INCLUDE)/tm27.h: ../../shared/include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp) +$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h |