a6a248ea51
Drop second patch (not needed since
ac576038b2
)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
878 B
Makefile
27 lines
878 B
Makefile
################################################################################
|
|
#
|
|
# powertop
|
|
#
|
|
################################################################################
|
|
|
|
POWERTOP_VERSION = 2.11
|
|
POWERTOP_SITE = https://01.org/sites/default/files/downloads
|
|
POWERTOP_SOURCE = powertop-v$(POWERTOP_VERSION)-1-g7ef7f79.tar.gz
|
|
POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-pkgconf \
|
|
$(TARGET_NLS_DEPENDENCIES)
|
|
POWERTOP_LICENSE = GPL-2.0
|
|
POWERTOP_LICENSE_FILES = COPYING
|
|
POWERTOP_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
|
# 0001-dont-force-stack-smashing-protection.patch
|
|
POWERTOP_AUTORECONF = YES
|
|
|
|
# Help powertop at finding the right ncurses library depending on
|
|
# which one is available.
|
|
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
|
POWERTOP_CONF_ENV += ac_cv_search_delwin="-lncursesw"
|
|
else
|
|
POWERTOP_CONF_ENV += ac_cv_search_delwin="-lncurses"
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|