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 <dengqf6@mail2.sysu.edu.cn>
This commit is contained in:
parent
7d89a7cfa6
commit
47117ce9a4
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue