package/lm-sensors: disable static library for shared-only build
Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
21b5d85999
commit
3e05efd766
@ -31,6 +31,12 @@ else
|
||||
LM_SENSORS_MAKE_OPTS += BUILD_SHARED_LIB=1
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_SHARED_LIBS),y)
|
||||
LM_SENSORS_MAKE_OPTS += BUILD_STATIC_LIB=0
|
||||
else
|
||||
LM_SENSORS_MAKE_OPTS += BUILD_STATIC_LIB=1
|
||||
endif
|
||||
|
||||
define LM_SENSORS_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) $(LM_SENSORS_MAKE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
Loading…
Reference in New Issue
Block a user