pps-tools: use INSTALL_DATA instead of CP
authorWolfgang Breyha <wbreyha@gmx.net>
Mon, 21 Oct 2019 12:09:29 +0000 (14:09 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 8 Nov 2019 09:58:57 +0000 (10:58 +0100)
Signed-off-by: Wolfgang Breyha <wbreyha@gmx.net>
utils/pps-tools/Makefile

index d5bfd897ad9142e1733e3c052164fffd4f5cb7e0..5ac3dc5fefbe92a9cc0cada988c2a11abec96166 100644 (file)
@@ -34,7 +34,7 @@ TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include/sys
-       $(CP) $(PKG_BUILD_DIR)/timepps.h $(1)/usr/include/sys/
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/timepps.h $(1)/usr/include/sys/
 endef
 
 define Package/pps-tools/install