From patchwork Wed Mar 20 21:09:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Adrien_Gallou=C3=ABt?= X-Patchwork-Id: 1059552 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gallouet.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Xw933KxQ"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44PjHx5dkpz9sR2 for ; Thu, 21 Mar 2019 08:10:35 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7890385E09; Wed, 20 Mar 2019 21:10:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lSy2DwvaKrcG; Wed, 20 Mar 2019 21:10:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id BF07285DF8; Wed, 20 Mar 2019 21:10:30 +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 3507D1BF31F for ; Wed, 20 Mar 2019 21:10:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 31F088669A for ; Wed, 20 Mar 2019 21:10:29 +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 vFbM-EfL-i4R for ; Wed, 20 Mar 2019 21:10:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 381868651E for ; Wed, 20 Mar 2019 21:10:28 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id o25so274539wmf.5 for ; Wed, 20 Mar 2019 14:10:28 -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:mime-version :content-transfer-encoding; bh=drPLvP9IAs38A2sNyz2wbq6EJMzIYcs4oCujJLQRaF0=; b=Xw933KxQC7W63cQKgbmUO0FkR0fb4kMlnsamCZEUwNWHsbjywkRHytEFOojEKKWq1v 6sdP2a9U783rAdBT9tSDfUuj4Wf2Mz5EnSmdBnrtqmMQfWGEiQC8AhU2DZGvt3189r+8 BN/cfdfzKHBwkJxhkWVrXRYD5eLFzxHCeQSQFIqbdRONtDmzvpGsd7eKBBEHa5PTasw1 07Yj34aIQOW0l5I6lPW0gvpT5itx2v5H7wfBLIiHRwI4HaLULfKyrzwkM6JxWkflFHFl aDuSw2P+8w1iPPNim8b+Z9uOtyydHy9cd/Dl9NRAUeDoqJ2ZJmtDqC3hnxTytHcIUa6n xrng== 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 :mime-version:content-transfer-encoding; bh=drPLvP9IAs38A2sNyz2wbq6EJMzIYcs4oCujJLQRaF0=; b=fGqNNivnFPkZju1xBAXzAADLXLybMXLJ1lk4/ZIxCJEp7yWXfIAuOv+UxJwquiAsJi UpT3RdZH2stA5P+q7+crr+IYvAJIH7bEkdUROeejLicNmxfHraq//uMfd/KnMSnWxuHC Zug6DLQQWBrH737A/67guColEZ3T/WEjbrv/zV1/BiQeu7rdcYxNR9EY/aQe+d59rZ6w 2bKXJxUViDsWxwSyAOzsXVVEf5A1icTNVxp6ojO1wjlPSkoTqzg1nheeqtNgk//785cb r+iiyo/6MLd3WWfxW7qWoLYRoY+6JbjrGChmr2PD4WAq2IGwdub49N6sOJ4NoLONrrMP Zg0Q== X-Gm-Message-State: APjAAAXI/nBQ/TvPwEq8DhHxhnx5pzJ2Gj+gGMhtLYpp8A4dQvMONxst Nlf1hY0pzptus6MAFLNGplWDuXVM X-Google-Smtp-Source: APXvYqzP93Yhr/ezL7ZYc08IhsrQ12jk0EIguRmO+VgW3Rfunj4IS6x+YAhXyBvTCiFKPHR/eLjcsg== X-Received: by 2002:a1c:f30b:: with SMTP id q11mr232814wmq.118.1553116226251; Wed, 20 Mar 2019 14:10:26 -0700 (PDT) Received: from localhost.localdomain (angt.sticky.ovh. [51.68.38.46]) by smtp.gmail.com with ESMTPSA id v20sm8998639wmj.2.2019.03.20.14.10.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Mar 2019 14:10:25 -0700 (PDT) From: =?utf-8?q?Adrien_Gallou=C3=ABt?= To: buildroot@buildroot.org Date: Wed, 20 Mar 2019 21:09:44 +0000 Message-Id: <20190320210943.21377-1-adrien@gallouet.fr> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/bird: add optional protocols X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Adrien_Gallou=C3=ABt?= Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Adrien Gallouët --- package/bird/Config.in | 46 ++++++++++++++++++++++++++++++++++++++++++ package/bird/bird.mk | 16 +++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/package/bird/Config.in b/package/bird/Config.in index a69551f94e..298348d098 100644 --- a/package/bird/Config.in +++ b/package/bird/Config.in @@ -20,4 +20,50 @@ config BR2_PACKAGE_BIRD_CLIENT help Enable the BIRD client +config BR2_PACKAGE_BIRD_BABEL + bool "babel" + help + Enable Babel protocol. + +config BR2_PACKAGE_BIRD_BFD + bool "bfd" + help + Enable BFD protocol. + +config BR2_PACKAGE_BIRD_BGP + bool "bgp" + default y + help + Enable BGP protocol. + +config BR2_PACKAGE_BIRD_MRT + bool "mrt" + help + Enable MRT protocol. + +config BR2_PACKAGE_BIRD_OSPF + bool "ospf" + help + Enable OSPFv2 and OSPFv3 protocol. + +config BR2_PACKAGE_BIRD_PERF + bool "perf" + help + Enable Perf protocol. + +config BR2_PACKAGE_BIRD_PIPE + bool "pipe" + help + Enable Pipe protocol. + +config BR2_PACKAGE_BIRD_RADV + bool "radv" + help + Enable RAdv protocol. + +config BR2_PACKAGE_BIRD_STATIC + bool "static" + help + Enable Static protocol. + endif diff --git a/package/bird/bird.mk b/package/bird/bird.mk index e165be61c0..26bec01ebf 100644 --- a/package/bird/bird.mk +++ b/package/bird/bird.mk @@ -17,4 +17,20 @@ else BIRD_CONF_OPTS += --disable-client endif +# BUG: RIP is needed for now +BR2_PACKAGE_BIRD_RIP=y + +BR2_PACKAGE_BIRD_PROTOCOLS += $(if $(BR2_PACKAGE_BIRD_BFD),bfd,) +BR2_PACKAGE_BIRD_PROTOCOLS += $(if $(BR2_PACKAGE_BIRD_BABEL),babel,) +BR2_PACKAGE_BIRD_PROTOCOLS += $(if $(BR2_PACKAGE_BIRD_BGP),bgp,) +BR2_PACKAGE_BIRD_PROTOCOLS += $(if $(BR2_PACKAGE_BIRD_MRT),mrt,) +BR2_PACKAGE_BIRD_PROTOCOLS += $(if $(BR2_PACKAGE_BIRD_OSPF),ospf,) +BR2_PACKAGE_BIRD_PROTOCOLS += $(if $(BR2_PACKAGE_BIRD_PERF),perf,) +BR2_PACKAGE_BIRD_PROTOCOLS += $(if $(BR2_PACKAGE_BIRD_PIPE),pipe,) +BR2_PACKAGE_BIRD_PROTOCOLS += $(if $(BR2_PACKAGE_BIRD_RADV),radv,) +BR2_PACKAGE_BIRD_PROTOCOLS += $(if $(BR2_PACKAGE_BIRD_RIP),rip,) +BR2_PACKAGE_BIRD_PROTOCOLS += $(if $(BR2_PACKAGE_BIRD_STATIC),static,) + +BIRD_CONF_OPTS += --with-protocols=$(subst $(space),$(comma),$(strip $(BR2_PACKAGE_BIRD_PROTOCOLS))) + $(eval $(autotools-package))