mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
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:
committed by
Josef Schlehofer
parent
f190dc89a4
commit
bbd66b26e4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user