Browse Source

lm-sensors: add conditionals to perl dependencies

This will avoid building perl if lm-sensors-detect is not selected.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
lilik-openwrt-22.03
Eneas U de Queiroz 6 years ago
parent
commit
695717c449
No known key found for this signature in database GPG Key ID: 1EB043ABD7ACF202
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      utils/lm-sensors/Makefile

+ 6
- 1
utils/lm-sensors/Makefile View File

@ -42,7 +42,12 @@ define Package/lm-sensors-detect
SECTION:=utils
CATEGORY:=Utilities
TITLE:=lm-sensors-detect
DEPENDS+=+lm-sensors +perl +perlbase-essential +perlbase-fcntl +perlbase-file +perlbase-xsloader
DEPENDS+=+lm-sensors \
+PACKAGE_lm-sensors-detect:perl \
+PACKAGE_lm-sensors-detect:perlbase-essential \
+PACKAGE_lm-sensors-detect:perlbase-fcntl \
+PACKAGE_lm-sensors-detect:perlbase-file \
+PACKAGE_lm-sensors-detect:perlbase-xsloader
endef
define Package/libsensors


Loading…
Cancel
Save