package/powertop: picutils is optional, not mandatory

pciutils is optional, not mandatory since version 2.1 and the addition
of the package in commit 0adc0e24ee and
98ca605e7c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - one item per multi-line in _DEPENDENCIES
  - reorder _DEPENDENCIES
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2023-09-29 18:12:07 +02:00 committed by Yann E. MORIN
parent 13b0e6bbf3
commit bcfcc07413
2 changed files with 8 additions and 3 deletions

View File

@ -4,7 +4,6 @@ config BR2_PACKAGE_POWERTOP
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
depends on BR2_USE_WCHAR
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_PCIUTILS
select BR2_PACKAGE_LIBNL
help
A tool to diagnose issues with power consumption and power

View File

@ -6,10 +6,16 @@
POWERTOP_VERSION = 2.13
POWERTOP_SITE = https://01.org/sites/default/files/downloads
POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-pkgconf \
$(TARGET_NLS_DEPENDENCIES)
POWERTOP_LICENSE = GPL-2.0
POWERTOP_LICENSE_FILES = COPYING
POWERTOP_DEPENDENCIES = \
host-pkgconf \
libnl \
ncurses \
$(if $(BR2_PACKAGE_PCIUTILS),pciutils) \
$(TARGET_NLS_DEPENDENCIES)
POWERTOP_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
# 0001-dont-force-stack-smashing-protection.patch
POWERTOP_AUTORECONF = YES