|
@@ -4,12 +4,13 @@
|
|
#
|
|
#
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
-POWERTOP_VERSION = 2.13
|
|
|
|
-POWERTOP_SITE = https://01.org/sites/default/files/downloads
|
|
|
|
|
|
+POWERTOP_VERSION = 2.15
|
|
|
|
+POWERTOP_SITE = $(call github,fenrus75,powertop,v$(POWERTOP_VERSION))
|
|
POWERTOP_LICENSE = GPL-2.0
|
|
POWERTOP_LICENSE = GPL-2.0
|
|
POWERTOP_LICENSE_FILES = COPYING
|
|
POWERTOP_LICENSE_FILES = COPYING
|
|
|
|
|
|
POWERTOP_DEPENDENCIES = \
|
|
POWERTOP_DEPENDENCIES = \
|
|
|
|
+ host-autoconf-archive \
|
|
host-pkgconf \
|
|
host-pkgconf \
|
|
libnl \
|
|
libnl \
|
|
ncurses \
|
|
ncurses \
|
|
@@ -17,8 +18,16 @@ POWERTOP_DEPENDENCIES = \
|
|
$(TARGET_NLS_DEPENDENCIES)
|
|
$(TARGET_NLS_DEPENDENCIES)
|
|
|
|
|
|
POWERTOP_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
|
POWERTOP_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
|
-# 0001-dont-force-stack-smashing-protection.patch
|
|
|
|
|
|
+# 0001-add-disable-stack-protector-option.patch
|
|
POWERTOP_AUTORECONF = YES
|
|
POWERTOP_AUTORECONF = YES
|
|
|
|
+POWERTOP_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive
|
|
|
|
+POWERTOP_CONF_OPTS = --disable-stack-protector
|
|
|
|
+
|
|
|
|
+# fix missing config.rpath (needed for autoreconf) in the codebase
|
|
|
|
+define POWERTOP_TOUCH_CONFIG_RPATH
|
|
|
|
+ touch $(@D)/config.rpath
|
|
|
|
+endef
|
|
|
|
+POWERTOP_PRE_CONFIGURE_HOOKS += POWERTOP_TOUCH_CONFIG_RPATH
|
|
|
|
|
|
# Help powertop at finding the right ncurses library depending on
|
|
# Help powertop at finding the right ncurses library depending on
|
|
# which one is available.
|
|
# which one is available.
|