From patchwork Sat Sep 9 21:39:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 812028 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Dtju88KA"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xqSLp6Xl1z9ryT for ; Sun, 10 Sep 2017 07:41:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1F1028A06B; Sat, 9 Sep 2017 21:41:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 691TD2skKJfg; Sat, 9 Sep 2017 21:41:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5BF3D8A105; Sat, 9 Sep 2017 21:41:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id C23621C26BD for ; Sat, 9 Sep 2017 21:41:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BC1D62DF68 for ; Sat, 9 Sep 2017 21:41:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uyUiwYms57vs for ; Sat, 9 Sep 2017 21:41:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by silver.osuosl.org (Postfix) with ESMTPS id 3755A2D9F7 for ; Sat, 9 Sep 2017 21:41:08 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id g50so2697415wra.3 for ; Sat, 09 Sep 2017 14:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Qvv/MGB0uo3nOmtqm5ck3wrLGeKjGeNrzfq+bojrdh0=; b=Dtju88KAQLvRW8qa8NgEHRVLFNGLBFV3ih0jNnOCHgLG7XcezGDzU2OjVK4rrZBGjP 24B+iidL4IgW8JX+mWku0D3fraCSdsW4MyT2JtP8wVhPBss6VnlOT0kCK8LRw+A1j4ez ZDThFi0kH3DVpjhA+kIgNfvzfEIPBXGvvB2Zbj7Kgjv8Li0e5fdMBHzvn+j7P/jes9e6 2H7exTGntiiGUY4nP65VNm4GzHdvNiVIQyI/qfq4Xk2JMvqqaJlvsGVFGBascyUde1lG F6P+1BbU9krW7PJEuVMUkHUcEhxWDLcmM1HP3QXHjKogYPW1dwSaGQ5sVLKqlwXb0sm4 nC2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=Qvv/MGB0uo3nOmtqm5ck3wrLGeKjGeNrzfq+bojrdh0=; b=B1NxkmtmGn/KXSyKvhVcqCtkJJzleluOm+9thX+Wuz/ehBfd5wWKFP3ELClO8CovgI k/bn5ZthTPo0DJy3YTNrYCqoXVoErz9uTAKKDkw/0kovtvyIY++ccIilWarPf6Lt69W7 vtnHalkw/i2G0WDMcEzwyVY3a58dkk95sbNl1tnOc3Cho2onfCoOQnmKJjtdbx3WLVf0 bxODRvEaZkJbM7qDGbnykvLDYrZVe9Qg7rANhni0qvULAhxl2eF0ldBHnbQ6uInpapQT gJDDRUlsew5sgEMbGiRg8vqz5O39JbO4fcT1njGn2vUWMsqbMPB20c4uCF8QZ2PRuz+0 tGDA== X-Gm-Message-State: AHPjjUhpnOQmIFen99fK1NgilqNlL+sWi5j/Na5ikuatvW49gsT2UAUS QbEYIf0qA2aJ4SzZ X-Google-Smtp-Source: ADKCNb6dQruOMeWtW0YpnyHeQ+HbspIjBr6clnRkBEObTUqpWz48m57GEAD0n8sPcvR0LrK74nrFOg== X-Received: by 10.223.141.143 with SMTP id o15mr5306604wrb.228.1504993266383; Sat, 09 Sep 2017 14:41:06 -0700 (PDT) Received: from localhost.localdomain (2a01cb08861073003564ebf312921004.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:3564:ebf3:1292:1004]) by smtp.gmail.com with ESMTPSA id k52sm5435702wrf.62.2017.09.09.14.41.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Sep 2017 14:41:05 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 9 Sep 2017 23:39:53 +0200 Message-Id: <222e0d158eca2a8dd6b0ae0e4e4d7cd8cb96c5b5.1504993178.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 47/49 v2] package/asterisk: enable inotify when possible X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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" --- 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 cd8bf9fab6..54007f46b3 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -49,7 +49,6 @@ ASTERISK_CONF_OPTS = \ --without-hoard \ --without-iksemel \ --without-imap \ - --without-inotify \ --without-iodbc \ --without-isdnnet \ --without-jack \ @@ -100,6 +99,13 @@ ASTERISK_CONF_OPTS += --without-avcodec 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