diff options
author | Rosen Penev <rosenp@gmail.com> | 2019-06-02 09:48:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-02 09:48:25 -0700 |
commit | 72dc6f669a960c233a6d19af3806ba423387a01c (patch) | |
tree | 64417cf94aea5c971a85a1c37aeca2e9fc4dbcf3 /utils | |
parent | 982c389732d2d0589d15cfc1835e289275140c8c (diff) | |
parent | cfd47f5da1c378c0b76aa35ced2489134f7b92e5 (diff) |
Merge pull request #8965 from neheb/pow
powertop: Switch to uClibc++
Diffstat (limited to 'utils')
-rw-r--r-- | utils/powertop/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/powertop/Makefile b/utils/powertop/Makefile index 430ce693b..15a5881e4 100644 --- a/utils/powertop/Makefile +++ b/utils/powertop/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=powertop PKG_VERSION:=2.10 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://01.org/sites/default/files/downloads/ @@ -22,12 +22,14 @@ PKG_LICENSE:=GPL-2.0 PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 +include $(INCLUDE_DIR)/uclibc++.mk include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk define Package/powertop SECTION:=utils CATEGORY:=Utilities - DEPENDS:=+libpci +libncursesw +libnl-genl +libstdcpp + DEPENDS:=$(CXX_DEPENDS) $(INTL_DEPENDS) +libpci +libncursesw +libnl-genl TITLE:=Power consumption monitor URL:=https://01.org/powertop endef @@ -37,6 +39,8 @@ define Package/powertop/description and power management. endef +TARGET_LDFLAGS += $(if $(INTL_FULL),-lintl) + define Package/powertop/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/powertop \ |