5208e9507f
sleep_for is not always defined with gcc <= 4.7, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52680 To fix this issue, add a dependency to gcc >= 4.8 Fixes: - http://autobuild.buildroot.net/results/0dada8dd727f32a4500670f6620adb05943ed0b7 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
config BR2_PACKAGE_DOMOTICZ
|
|
bool "domoticz"
|
|
depends on BR2_USE_MMU # mosquitto
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mosquitto
|
|
depends on !BR2_STATIC_LIBS # mosquitto
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # sleep_for
|
|
# pthread_condattr_setclock
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_USE_WCHAR
|
|
depends on BR2_PACKAGE_LUA_5_2 || BR2_PACKAGE_LUA_5_3
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
|
|
select BR2_PACKAGE_BOOST
|
|
select BR2_PACKAGE_BOOST_DATE_TIME
|
|
select BR2_PACKAGE_BOOST_SYSTEM
|
|
select BR2_PACKAGE_BOOST_THREAD
|
|
select BR2_PACKAGE_LIBCURL
|
|
select BR2_PACKAGE_MOSQUITTO
|
|
select BR2_PACKAGE_OPENSSL
|
|
select BR2_PACKAGE_SQLITE
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
Domoticz is a Home Automation System that lets you monitor
|
|
and configure various devices like: Lights, Switches,
|
|
various sensors/meters like Temperature, Rain, Wind, UV,
|
|
Electra, Gas, Water and much more. Notifications/Alerts can
|
|
be sent to any mobile device.
|
|
|
|
http://domoticz.com
|
|
|
|
comment "domoticz needs lua >= 5.2 and a toolchain w/ C++, gcc >= 4.8, NPTL, wchar, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
!BR2_USE_WCHAR || BR2_STATIC_LIBS || \
|
|
!(BR2_PACKAGE_LUA_5_2 || BR2_PACKAGE_LUA_5_3)
|
|
|
|
comment "domoticz needs exception_ptr"
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|