mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +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>
(cherry picked from commit 0d060f855f7d9cd688fb9f64360a6538c711b409)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
c4a74eae16
commit
55893e0cbe
@ -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