Browse Source

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>
lilik-openwrt-22.03
Wolfgang Breyha 5 years ago
committed by Josef Schlehofer
parent
commit
bbd66b26e4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      utils/pps-tools/Makefile

+ 2
- 2
utils/pps-tools/Makefile View File

@ -33,8 +33,8 @@ endef
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
define Build/InstallDev 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 endef
define Package/pps-tools/install define Package/pps-tools/install


Loading…
Cancel
Save