[rtems commit] bsp/pc386: Do not install console_private.h

Sebastian Huber sebh at rtems.org
Fri Jan 5 10:58:03 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jan  4 08:29:38 2018 +0100

bsp/pc386: Do not install console_private.h

The name suggests that this is a private implementation header file.

Update #3254.

---

 c/src/lib/libbsp/i386/pc386/Makefile.am      | 1 -
 c/src/lib/libbsp/i386/pc386/console/rtd316.c | 2 +-
 c/src/lib/libbsp/i386/pc386/preinstall.am    | 4 ----
 3 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/c/src/lib/libbsp/i386/pc386/Makefile.am b/c/src/lib/libbsp/i386/pc386/Makefile.am
index 6243d6d..fdc192b 100644
--- a/c/src/lib/libbsp/i386/pc386/Makefile.am
+++ b/c/src/lib/libbsp/i386/pc386/Makefile.am
@@ -112,7 +112,6 @@ endif
 
 # console (non-graphics support)
 include_HEADERS += ../../i386/shared/comm/i386_io.h
-include_rtems_HEADERS += ../../shared/console_private.h
 libbsp_a_SOURCES += console/serial_mouse_config.c
 libbsp_a_SOURCES += ../../i386/shared/comm/uart.c
 libbsp_a_SOURCES += ../../i386/shared/comm/tty_drv.c
diff --git a/c/src/lib/libbsp/i386/pc386/console/rtd316.c b/c/src/lib/libbsp/i386/pc386/console/rtd316.c
index 7219ff6..cac0a16 100644
--- a/c/src/lib/libbsp/i386/pc386/console/rtd316.c
+++ b/c/src/lib/libbsp/i386/pc386/console/rtd316.c
@@ -26,7 +26,7 @@
 #include <rtems/bspIo.h>
 #include <bsp/rtd316.h>
 #include <rtems/score/i386.h>
-#include <rtems/console_private.h>
+#include "../../../shared/console_private.h"
 
 #define RTD_CLOCK_RATE  (460800 * 32)
 
diff --git a/c/src/lib/libbsp/i386/pc386/preinstall.am b/c/src/lib/libbsp/i386/pc386/preinstall.am
index c91213c..3ebe73b 100644
--- a/c/src/lib/libbsp/i386/pc386/preinstall.am
+++ b/c/src/lib/libbsp/i386/pc386/preinstall.am
@@ -162,10 +162,6 @@ $(PROJECT_INCLUDE)/i386_io.h: ../../i386/shared/comm/i386_io.h $(PROJECT_INCLUDE
 	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/i386_io.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/i386_io.h
 
-$(PROJECT_INCLUDE)/rtems/console_private.h: ../../shared/console_private.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
-	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/console_private.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/console_private.h
-
 $(PROJECT_INCLUDE)/uart.h: ../../i386/shared/comm/uart.h $(PROJECT_INCLUDE)/$(dirstamp)
 	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/uart.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/uart.h




More information about the vc mailing list