lm-sensors: install libsensors using CP instead of INSTALL_DATA 9226/head
authorDeng Qingfang <dengqf6@mail2.sysu.edu.cn>
Wed, 12 Jun 2019 16:51:18 +0000 (00:51 +0800)
committerDeng Qingfang <dengqf6@mail2.sysu.edu.cn>
Wed, 12 Jun 2019 19:47:26 +0000 (03:47 +0800)
INSTALL_DATA turns all of the symlinks to files, increasing size.

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
utils/lm-sensors/Makefile

index b75c7892ac70df46abffb6d1a17d8de057babbef..a9567b8dd9a20a645818d61b582556a5937c669c 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lm-sensors
 PKG_VERSION:=3.5.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_VERSION_SUBST=$(subst .,-,$(PKG_VERSION))
 PKG_SOURCE_URL:=https://codeload.github.com/lm-sensors/lm-sensors/tar.gz/V$(PKG_VERSION_SUBST)?
@@ -119,7 +119,7 @@ endef
 
 define Package/libsensors/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_DATA) $(PKG_BUILD_DIR)/lib/libsensors.so* $(1)/usr/lib
+       $(CP) $(PKG_BUILD_DIR)/lib/libsensors.so* $(1)/usr/lib
 endef
 
 $(eval $(call BuildPackage,lm-sensors))