[rtems commit] bsps/powerpc: Install missing <bsp/vectors.h>

Sebastian Huber sebh at rtems.org
Fri Dec 7 08:35:16 UTC 2012


Module:    rtems
Branch:    master
Commit:    191929cd227899e0f0cbc25bd347bbdc3b5f7d82
Changeset: http://git.rtems.org/rtems/commit/?id=191929cd227899e0f0cbc25bd347bbdc3b5f7d82

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Dec  6 17:31:48 2012 +0100

bsps/powerpc: Install missing <bsp/vectors.h>

---

 c/src/lib/libcpu/powerpc/Makefile.am   |    3 +--
 c/src/lib/libcpu/powerpc/preinstall.am |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/c/src/lib/libcpu/powerpc/Makefile.am b/c/src/lib/libcpu/powerpc/Makefile.am
index febcc6b..0537e73 100644
--- a/c/src/lib/libcpu/powerpc/Makefile.am
+++ b/c/src/lib/libcpu/powerpc/Makefile.am
@@ -14,6 +14,7 @@ include_libcpu_HEADERS = shared/include/powerpc-utility.h
 include_bspdir = $(includedir)/bsp
 
 include_bsp_HEADERS =
+include_bsp_HEADERS += new-exceptions/bspsupport/vectors.h
 
 EXTRA_DIST =
 
@@ -25,8 +26,6 @@ new_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
 
 
 if !mpc5xx
-include_bsp_HEADERS += new-exceptions/bspsupport/vectors.h
-
 noinst_PROGRAMS += new-exceptions/exc_bspsupport.rel
 new_exceptions_exc_bspsupport_rel_SOURCES = \
     new-exceptions/bspsupport/ppc-code-copy.c \
diff --git a/c/src/lib/libcpu/powerpc/preinstall.am b/c/src/lib/libcpu/powerpc/preinstall.am
index 79b7d88..8822124 100644
--- a/c/src/lib/libcpu/powerpc/preinstall.am
+++ b/c/src/lib/libcpu/powerpc/preinstall.am
@@ -54,11 +54,10 @@ $(PROJECT_INCLUDE)/bsp/$(dirstamp):
 	@: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
 
-if !mpc5xx
 $(PROJECT_INCLUDE)/bsp/vectors.h: new-exceptions/bspsupport/vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
 	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
-endif
+
 if shared
 $(PROJECT_INCLUDE)/libcpu/io.h: shared/include/io.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
 	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/io.h




More information about the vc mailing list