[Buildroot] [PATCH 50/52] package/asterisk: enable inotify when possible
Yann E. MORIN
yann.morin.1998 at free.fr
Fri Dec 30 10:29:51 UTC 2016
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 at free.fr>
---
package/asterisk/asterisk.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
index d9bdb5b..1436575 100644
--- a/package/asterisk/asterisk.mk
+++ b/package/asterisk/asterisk.mk
@@ -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
--
2.7.4
More information about the buildroot
mailing list