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/mips/malta | |
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/mips/malta')
-rw-r--r-- | c/src/lib/libbsp/mips/malta/Makefile.am | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips/malta/include/tm27.h | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips/malta/preinstall.am | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/mips/malta/Makefile.am b/c/src/lib/libbsp/mips/malta/Makefile.am index 20ef693658..55b3368725 100644 --- a/c/src/lib/libbsp/mips/malta/Makefile.am +++ b/c/src/lib/libbsp/mips/malta/Makefile.am @@ -10,7 +10,7 @@ include_bspdir = $(includedir)/bsp dist_project_lib_DATA = bsp_specs include_HEADERS = include/bsp.h -include_HEADERS += ../../shared/include/tm27.h +include_HEADERS += include/tm27.h include_bsp_HEADERS = ../shared/liblnk/regs.h #isr include_bsp_HEADERS += ../../shared/include/irq-generic.h diff --git a/c/src/lib/libbsp/mips/malta/include/tm27.h b/c/src/lib/libbsp/mips/malta/include/tm27.h new file mode 100644 index 0000000000..0dfa7bf628 --- /dev/null +++ b/c/src/lib/libbsp/mips/malta/include/tm27.h @@ -0,0 +1 @@ +#include <rtems/tm27-default.h> diff --git a/c/src/lib/libbsp/mips/malta/preinstall.am b/c/src/lib/libbsp/mips/malta/preinstall.am index 948cef7020..e725a6b4b8 100644 --- a/c/src/lib/libbsp/mips/malta/preinstall.am +++ b/c/src/lib/libbsp/mips/malta/preinstall.am @@ -41,7 +41,7 @@ $(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h -$(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 |