From ecb007016fbc805b5d9ca27c173dcac12a2d414a Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Sat, 10 Oct 2009 17:44:49 +0200 Subject: [lm_sensors] add all installable binaries Add more binaries, with config switches. Fix permissions while being there and use the "-" notation for file sources. Signed-off-by: Robert Schwebel --- rules/lm_sensors.make | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'rules/lm_sensors.make') diff --git a/rules/lm_sensors.make b/rules/lm_sensors.make index b4df5f2df..3e0ec6a79 100644 --- a/rules/lm_sensors.make +++ b/rules/lm_sensors.make @@ -93,12 +93,30 @@ $(STATEDIR)/lm_sensors.targetinstall: @$(call install_fixup, lm_sensors,DEPENDS,) @$(call install_fixup, lm_sensors,DESCRIPTION,missing) - @$(call install_copy, lm_sensors, 0, 0, 0755, $(LM_SENSORS_DIR)/prog/sensors/sensors, /usr/bin/sensors) - @$(call install_copy, lm_sensors, 0, 0, 0644, $(LM_SENSORS_DIR)/etc/sensors.conf.default, /etc/sensors3.conf) - @$(call install_copy, lm_sensors, 0, 0, 0755, $(LM_SENSORS_DIR)/lib/libsensors.so.4.2.0, /usr/lib/libsensors.so.4.2.0) + @$(call install_copy, lm_sensors, 0, 0, 0644, -, /usr/lib/libsensors.so.4.2.0) @$(call install_link, lm_sensors, libsensors.so.4.2.0, /usr/lib/libsensors.so.4) @$(call install_link, lm_sensors, libsensors.so.4.2.0, /usr/lib/libsensors.so) + @$(call install_copy, lm_sensors, 0, 0, 0755, -, /usr/bin/sensors) + @$(call install_copy, lm_sensors, 0, 0, 0755, -, /usr/bin/sensors-conf-convert) + + @$(call install_copy, lm_sensors, 0, 0, 0644, -, /etc/sensors3.conf) + +ifdef PTXCONF_LM_SENSORS_FANCONTROL + @$(call install_copy, lm_sensors, 0, 0, 0755, -, /usr/sbin/fancontrol) +endif +ifdef PTXCONF_LM_SENSORS_SENSORS_DETECT + @$(call install_copy, lm_sensors, 0, 0, 0755, -, /usr/sbin/sensors-detect) +endif +ifdef PTXCONF_LM_SENSORS_ISASET + @$(call install_copy, lm_sensors, 0, 0, 0755, -, /usr/sbin/isaset) +endif +ifdef PTXCONF_LM_SENSORS_ISADUMP + @$(call install_copy, lm_sensors, 0, 0, 0755, -, /usr/sbin/isadump) +endif +ifdef PTXCONF_LM_SENSORS_PWMCONFIG + @$(call install_copy, lm_sensors, 0, 0, 0755, -, /usr/sbin/pwmconfig) +endif @$(call install_finish, lm_sensors) @$(call touch) -- cgit v1.2.3