|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=powertop |
|
|
|
PKG_VERSION:=2.10 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_RELEASE:=3 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz |
|
|
|
PKG_SOURCE_URL:=https://01.org/sites/default/files/downloads/ |
|
|
@ -39,8 +39,14 @@ define Package/powertop/description |
|
|
|
and power management. |
|
|
|
endef |
|
|
|
|
|
|
|
TARGET_CFLAGS += $(FPIC) |
|
|
|
ifeq ($(CONFIG_USE_UCLIBC),y) |
|
|
|
TARGET_CFLAGS += -fno-stack-protector |
|
|
|
endif |
|
|
|
TARGET_LDFLAGS += $(if $(INTL_FULL),-lintl) |
|
|
|
|
|
|
|
CONFIGURE_ARGS += --without-pic |
|
|
|
|
|
|
|
define Package/powertop/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/powertop \
|
|
|
|