@@ -38,7 +38,6 @@ ASTERISK_CONF_OPTS += \
--without-hoard \
--without-iksemel \
--without-imap \
- --without-inotify \
--without-iodbc \
--without-isdnnet \
--without-jack \
@@ -82,6 +81,13 @@ ASTERISK_CONF_OPTS += \
ASTERISK_CONF_ENV = \
ac_cv_path_CONFIG_LIBXML2=$(STAGING_DIR)/usr/bin/xml2-config
+ifeq ($(BR2_microblaze),y)
+# microblaze toolchain doesn't provide inotify_rm_* but does have sys/inotify.h
+ASTERISK_CONF_OPTS += --without-inotify
+else
+ASTERISK_CONF_OPTS += --with-inotify
+endif
+
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
ASTERISK_CONF_OPTS += --with-execinfo
else
As for DBus, we disable support for inotify only for microblaze, because the toolchain does not provide a complete inotify. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> --- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)