Merge pull request #9226 from dengqf6/libsensors
lm-sensors: install libsensors using CP instead of INSTALL_DATA
This commit is contained in:
commit
ab0e95fa67
|
@ -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 New Issue