mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00: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:
parent
7eea3ae224
commit
0d060f855f
@ -42,6 +42,20 @@ else
|
|||||||
OWFS_CONF_OPTS += --disable-owfs
|
OWFS_CONF_OPTS += --disable-owfs
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
||||||
OWFS_CONF_OPTS += --enable-usb
|
OWFS_CONF_OPTS += --enable-usb
|
||||||
OWFS_DEPENDENCIES += libusb
|
OWFS_DEPENDENCIES += libusb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user