summaryrefslogtreecommitdiffstats
path: root/rules/libusb.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/libusb.make')
-rw-r--r--rules/libusb.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/libusb.make b/rules/libusb.make
index 7e8cb28a9..7083c6c1b 100644
--- a/rules/libusb.make
+++ b/rules/libusb.make
@@ -65,6 +65,12 @@ LIBUSB_ENV := $(CROSS_ENV)
#
LIBUSB_AUTOCONF := $(CROSS_AUTOCONF_USR)
+ifdef PTXCONF_LIBUSB_DOCS
+LIBUSB_AUTOCONF += --enable-build-docs
+else
+LIBUSB_AUTOCONF += --disable-build-docs
+endif
+
$(STATEDIR)/libusb.prepare: $(libusb_prepare_deps_default)
@$(call targetinfo, $@)
@$(call clean, $(LIBUSB_DIR)/config.cache)