This commit is contained in:
@@ -9,7 +9,7 @@ OWFS_SITE = http://downloads.sourceforge.net/project/owfs/owfs/$(OWFS_VERSION)
|
||||
OWFS_DEPENDENCIES = host-pkgconf
|
||||
OWFS_CONF_OPTS = --disable-owperl --without-perl5 --disable-owtcl --without-tcl
|
||||
|
||||
# 0001-configure.ac-check-for-localtime_r.patch touches configure.ac
|
||||
# We're patching configure.ac
|
||||
OWFS_AUTORECONF = YES
|
||||
|
||||
# owtcl license is declared in module/ownet/c/src/include/ow_functions.h
|
||||
@@ -42,6 +42,20 @@ else
|
||||
OWFS_CONF_OPTS += --disable-owfs
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBFTDI1),y)
|
||||
OWFS_CONF_OPTS += \
|
||||
--enable-ftdi \
|
||||
--with-libftdi-config=$(STAGING_DIR)/usr/bin/libftdi1-config
|
||||
OWFS_DEPENDENCIES += libftdi1
|
||||
else ifeq ($(BR2_PACKAGE_LIBFTDI),y)
|
||||
OWFS_CONF_OPTS += \
|
||||
--enable-ftdi \
|
||||
--with-libftdi-config=$(STAGING_DIR)/usr/bin/libftdi-config
|
||||
OWFS_DEPENDENCIES += libftdi
|
||||
else
|
||||
OWFS_CONF_OPTS += --disable-ftdi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
||||
OWFS_CONF_OPTS += --enable-usb
|
||||
OWFS_DEPENDENCIES += libusb
|
||||
|
||||
Reference in New Issue
Block a user