[rtems commit] libbsp/Makefile.am: gpio.h as preinstalled header
Ben Gras
beng at rtems.org
Wed Oct 21 15:07:10 UTC 2015
Module: rtems
Branch: master
Commit: 6f6e5d758f6a1e7dcae74e151c3dd3d1034da232
Changeset: http://git.rtems.org/rtems/commit/?id=6f6e5d758f6a1e7dcae74e151c3dd3d1034da232
Author: Ben Gras <beng at rtems.org>
Date: Wed Oct 21 16:46:19 2015 +0200
libbsp/Makefile.am: gpio.h as preinstalled header
Also regenerate preinstall.am. Closes #2434.
---
c/src/lib/libbsp/Makefile.am | 1 +
c/src/lib/libbsp/preinstall.am | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/c/src/lib/libbsp/Makefile.am b/c/src/lib/libbsp/Makefile.am
index 3cab4d7..bd15929 100644
--- a/c/src/lib/libbsp/Makefile.am
+++ b/c/src/lib/libbsp/Makefile.am
@@ -35,6 +35,7 @@ include_bsp_HEADERS =
include_bsp_HEADERS += shared/include/default-initial-extension.h
include_bsp_HEADERS += shared/include/fatal.h
include_bsp_HEADERS += shared/include/console-termios.h
+include_bsp_HEADERS += shared/include/gpio.h
include $(srcdir)/preinstall.am
include $(top_srcdir)/automake/subdirs.am
diff --git a/c/src/lib/libbsp/preinstall.am b/c/src/lib/libbsp/preinstall.am
index 651f136..bbcb7c5 100644
--- a/c/src/lib/libbsp/preinstall.am
+++ b/c/src/lib/libbsp/preinstall.am
@@ -30,3 +30,7 @@ $(PROJECT_INCLUDE)/bsp/console-termios.h: shared/include/console-termios.h $(PRO
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/console-termios.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/console-termios.h
+$(PROJECT_INCLUDE)/bsp/gpio.h: shared/include/gpio.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gpio.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gpio.h
+
More information about the vc
mailing list