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/v850/gdbv850sim | |
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/v850/gdbv850sim')
-rw-r--r-- | c/src/lib/libbsp/v850/gdbv850sim/Makefile.am | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/v850/gdbv850sim/include/tm27.h | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/v850/gdbv850sim/preinstall.am | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/v850/gdbv850sim/Makefile.am b/c/src/lib/libbsp/v850/gdbv850sim/Makefile.am index b1ad77410d..f9d09b76d6 100644 --- a/c/src/lib/libbsp/v850/gdbv850sim/Makefile.am +++ b/c/src/lib/libbsp/v850/gdbv850sim/Makefile.am @@ -11,7 +11,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 = include/syscall.h nodist_include_HEADERS = include/bspopts.h diff --git a/c/src/lib/libbsp/v850/gdbv850sim/include/tm27.h b/c/src/lib/libbsp/v850/gdbv850sim/include/tm27.h new file mode 100644 index 0000000000..0dfa7bf628 --- /dev/null +++ b/c/src/lib/libbsp/v850/gdbv850sim/include/tm27.h @@ -0,0 +1 @@ +#include <rtems/tm27-default.h> diff --git a/c/src/lib/libbsp/v850/gdbv850sim/preinstall.am b/c/src/lib/libbsp/v850/gdbv850sim/preinstall.am index 11fc1063be..32e0c260ef 100644 --- a/c/src/lib/libbsp/v850/gdbv850sim/preinstall.am +++ b/c/src/lib/libbsp/v850/gdbv850sim/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 |