lm-sensors: fix static-only builds
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 9 Jul 2014 20:42:30 +0000 (22:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 15 Jul 2014 19:13:55 +0000 (21:13 +0200)
commit3ad96773cd83840e75b6e72f4e5d3f25f71b6f8a
treecb7c6040bf6123aefb96e499d5782ebd8002f7b5
parentc54de0884f32495aaa8e92a5e4c4e835994b03bf
lm-sensors: fix static-only builds

This commit adds a patch to lm-sensors to support a new variable
BUILD_SHARED_LIB that allows to conditionally enable or disable the
build (and usage) of the libsensors shared library.

It also refactors the make variables in a variable called
LM_SENSORS_MAKE_OPT.

Fixes:

  http://autobuild.buildroot.org/results/06c/06c197263e4939d6adc4877e152f602a69df751d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lm-sensors/lm-sensors-0001-static-build.patch [new file with mode: 0644]
package/lm-sensors/lm-sensors.mk