mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/owfs: add optional libftdi dependency
ftdi support has been added in version 3.1p2 and
2982df8ca6
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
7eea3ae224
commit
0d060f855f
@@ -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