mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
libftdi1: use the new gettext logic
This commit switches to use the new gettext logic, which involves using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
ff98354e7e
commit
3d657ab3c7
@ -28,9 +28,8 @@ LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=OFF
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM),y)
|
ifeq ($(BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM),y)
|
||||||
# ftdi_eeprom optionally depends on libintl, so make sure gettext is built
|
# ftdi_eeprom optionally depends on libintl
|
||||||
# _before_ libfitdi1 when gettext is enbaled.
|
LIBFTDI1_DEPENDENCIES += libconfuse $(TARGET_NLS_DEPENDENCIES)
|
||||||
LIBFTDI1_DEPENDENCIES += libconfuse $(if $(BR2_PACKAGE_GETTEXT),gettext)
|
|
||||||
LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=ON
|
LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=ON
|
||||||
else
|
else
|
||||||
LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=OFF
|
LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=OFF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user