pps-tools: install timepps.h in location specified by RFC 2783

This is need by eg. gpsd to build with proper PPS support.
It was already submitted once in #2892 which ended in a stalemate.
Signed-off-by: Wolfgang Breyha <wbreyha@gmx.net>
This commit is contained in:
Wolfgang Breyha 2019-10-19 20:04:06 +02:00 committed by Josef Schlehofer
parent f190dc89a4
commit bbd66b26e4
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ endef
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_BUILD_DIR)/timepps.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/include/sys
$(CP) $(PKG_BUILD_DIR)/timepps.h $(1)/usr/include/sys/
endef
define Package/pps-tools/install