[rtems commit] bsp/gen5200: Avoid duplicate header installation

Sebastian Huber sebh at rtems.org
Tue Dec 5 13:31:35 UTC 2017


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Dec  5 14:26:59 2017 +0100

bsp/gen5200: Avoid duplicate header installation

Update #3254.

---

 c/src/lib/libbsp/powerpc/gen5200/Makefile.am   | 4 +---
 c/src/lib/libbsp/powerpc/gen5200/preinstall.am | 8 --------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am b/c/src/lib/libbsp/powerpc/gen5200/Makefile.am
index 03aeeae..0e5de05 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/gen5200/Makefile.am
@@ -62,9 +62,7 @@ include_bestcomm_HEADERS = bestcomm/bestcomm_priv.h \
 	bestcomm/dma_image.capi.h \
 	bestcomm/bestcomm_api.h \
 	bestcomm/bestcomm_glue.h
-include_bestcomm_include_HEADERS = bestcomm/include/ppctypes.h \
-	bestcomm/include/mgt5200/sdma.h \
-	bestcomm/include/mgt5200/mgt5200.h
+include_bestcomm_include_HEADERS = bestcomm/include/ppctypes.h
 include_bestcomm_include_mgt5200_HEADERS = bestcomm/include/mgt5200/mgt5200.h \
 	bestcomm/include/mgt5200/sdma.h
 include_bestcomm_task_api_HEADERS = bestcomm/task_api/tasksetup_general.h \
diff --git a/c/src/lib/libbsp/powerpc/gen5200/preinstall.am b/c/src/lib/libbsp/powerpc/gen5200/preinstall.am
index 5874aa3..382b283 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/preinstall.am
+++ b/c/src/lib/libbsp/powerpc/gen5200/preinstall.am
@@ -117,14 +117,6 @@ $(PROJECT_INCLUDE)/bsp/bestcomm/include/ppctypes.h: bestcomm/include/ppctypes.h
 	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bestcomm/include/ppctypes.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bestcomm/include/ppctypes.h
 
-$(PROJECT_INCLUDE)/bsp/bestcomm/include/sdma.h: bestcomm/include/mgt5200/sdma.h $(PROJECT_INCLUDE)/bsp/bestcomm/include/$(dirstamp)
-	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bestcomm/include/sdma.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bestcomm/include/sdma.h
-
-$(PROJECT_INCLUDE)/bsp/bestcomm/include/mgt5200.h: bestcomm/include/mgt5200/mgt5200.h $(PROJECT_INCLUDE)/bsp/bestcomm/include/$(dirstamp)
-	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bestcomm/include/mgt5200.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bestcomm/include/mgt5200.h
-
 $(PROJECT_INCLUDE)/bsp/bestcomm/include/mgt5200/mgt5200.h: bestcomm/include/mgt5200/mgt5200.h $(PROJECT_INCLUDE)/bsp/bestcomm/include/mgt5200/$(dirstamp)
 	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bestcomm/include/mgt5200/mgt5200.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bestcomm/include/mgt5200/mgt5200.h



More information about the vc mailing list