mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-08 23:51:08 -09:00
package/owfs: add optional libftdi dependency
ftdi support has been added in version 3.1p2 and2982df8ca6Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit0d060f855f) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
c4a74eae16
commit
55893e0cbe
@@ -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