From patchwork Mon Jun 29 12:45:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 489295 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 155531401EF for ; Mon, 29 Jun 2015 22:46:12 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=zacarias.com.ar header.i=@zacarias.com.ar header.b=WhS2XZ0S; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 48F578BB41; Mon, 29 Jun 2015 12:46:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QLF8FsQCAT1Q; Mon, 29 Jun 2015 12:46:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 091E58BD66; Mon, 29 Jun 2015 12:46:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 84F781C2891 for ; Mon, 29 Jun 2015 12:46:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7ED918BDA5 for ; Mon, 29 Jun 2015 12:46:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id miaL8SZwM3Hl for ; Mon, 29 Jun 2015 12:46:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.zacarias.com.ar (www.zacarias.com.ar [176.9.42.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 963CE8B76E for ; Mon, 29 Jun 2015 12:46:07 +0000 (UTC) Received: from asgard (cpe-186-22-136-136.telecentro-reversos.com.ar [186.22.136.136] (may be forged)) (authenticated bits=0) by www.zacarias.com.ar (8.15.1/8.15.1) with ESMTPSA id t5TCk0JX013668 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 29 Jun 2015 12:46:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1435581965; bh=vtuj0SyGEDt13qZs51eFuN9+Ae3k+7yv8T/k/qJZwPQ=; h=From:To:Cc:Subject:Date; b=WhS2XZ0Sc0yGl4BpuDgkBissJK312/8TM1dSjUfD0NolEeBuhZrXnPyE+rCLgyekU O4CqmY8lWBiabG24JtjBpHKN5DEZuU1yGxQUdl0UOSHAIAsfu5L/fLITY3qNnXz4EZ E1Jn3PTXxhe6uSahU7m1ousP61TYedEYmoH8h31I= Received: by asgard (sSMTP sendmail emulation); Mon, 29 Jun 2015 09:45:54 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Mon, 29 Jun 2015 09:45:54 -0300 Message-Id: <1435581954-16197-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 2.3.6 X-Virus-Scanned: clamav-milter 0.98.7 at www X-Virus-Status: Clean Subject: [Buildroot] [PATCH] iproute2: tipc support needs 3.18+ headers 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" Fixes: http://autobuild.buildroot.net/results/173/173c9dbed6422a3cc4f9d1f998bc25ce2e9538c7/ Signed-off-by: Gustavo Zacarias --- package/iproute2/iproute2.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index dabc8b4..b2627ec 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -17,8 +17,13 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y) IPROUTE2_DEPENDENCIES += busybox endif -ifeq ($(BR2_PACKAGE_LIBMNL),y) +# tipc support needs 3.18+ headers and libmnl +ifeq ($(BR2_PACKAGE_LIBMNL)$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18),yy) IPROUTE2_DEPENDENCIES += libmnl +else +define IPROUTE2_DISABLE_TIPC + $(SED) '/HAVE_MNL/d' $(@D)/Config +endef endif # If we've got iptables enable xtables support for tc @@ -57,6 +62,7 @@ define IPROUTE2_CONFIGURE_CMDS cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure $(IPROUTE2_DISABLE_ARPD) $(IPROUTE2_WITH_IPTABLES) + $(IPROUTE2_DISABLE_TIPC) endef define IPROUTE2_BUILD_CMDS