[kernel] hwmon: fix depends definition
[openwrt.git] / include / autotools.mk
index e1535d0..c941a49 100644 (file)
@@ -32,6 +32,7 @@ update_libtool_ucxx = \
        ) \
        $(call update_libtool_common)
 
+autoconf_bool = $(patsubst %,$(if $($(1)),--enable,--disable)-%,$(2))
 
 # prevent libtool from linking against host development libraries
 define libtool_fixup_libdir
This page took 0.023328 seconds and 4 git commands to generate.