From 3417ee01220e7ce2190845a6d8b5f16311b93258 Mon Sep 17 00:00:00 2001 From: Deng Qingfang Date: Thu, 13 Jun 2019 00:51:18 +0800 Subject: [PATCH] lm-sensors: install libsensors using CP instead of INSTALL_DATA INSTALL_DATA turns all of the symlinks to files, increasing size. Signed-off-by: Deng Qingfang --- utils/lm-sensors/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/lm-sensors/Makefile b/utils/lm-sensors/Makefile index b75c7892a..a9567b8dd 100644 --- a/utils/lm-sensors/Makefile +++ b/utils/lm-sensors/Makefile @@ -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))