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 <redacted>
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