From patchwork Tue Jan 14 20:55:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1223054 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ZrtVlc8Z; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47y2mC1mwRz9sR1 for ; Wed, 15 Jan 2020 07:55:38 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 48D738640E; Tue, 14 Jan 2020 20:55:37 +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 g+eYmz1+TiWA; Tue, 14 Jan 2020 20:55:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B1C7B86406; Tue, 14 Jan 2020 20:55:32 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id E31681BF375 for ; Tue, 14 Jan 2020 20:55:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E04C885CD0 for ; Tue, 14 Jan 2020 20:55:30 +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 K_cGJKET_xQm for ; Tue, 14 Jan 2020 20:55:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id CDA7E85C4A for ; Tue, 14 Jan 2020 20:55:26 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id p9so15475868wmc.2 for ; Tue, 14 Jan 2020 12:55:26 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=lqEY8aeDrFw/p/eZhjGpAksTlvAtA1Gouu0XODAceVg=; b=ZrtVlc8ZE8I1/6rFx4/yyoPS8TB5ayw4gZAGWn/YdOMZUIrqYex7u5+syoonsvcLom SkjrOSv6fyo/tUagKFUQEMCDpYzB/YslqQmK1fonYBqDTMJs+XBwrsHgGUQcjyJoAxks Nb39jXw3x2k/Q49/v9eElCTdmcri8aMYktRBM9ZDONCLGHlqpXAe1ax4YtxmBBISRfmu Yl+iR78BonB1YrnyfkxE57QpRq5+pc1RMUGFYj+QQoWs2r11Iw9VwXueDNz7W+rPL2P9 uBhtJVZg2y9ymm8iuuugak1/kR7GQgTtNMss3LPJoDQRam2meC6qFohgdum/vzeF/W1F UOFw== 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:mime-version:content-transfer-encoding; bh=lqEY8aeDrFw/p/eZhjGpAksTlvAtA1Gouu0XODAceVg=; b=gT2UDozwP1jJnT7HYHX+mx7BQQ8UMWZE4K4jp9+hPR7JqiNLSgx6KXgpsSRIon3AfV qjc0M0ngTOyrVYe6QixVrv0+xKHY6kxE4UJUi+UYXQT7LfKyXEXEEhia8b81VSgsrtey IW+eOyJrZ7XimozG6nBdbkvWiB/0NufqhNlBILPKg+qWl9HMT3fLBK7vRtjClSMFMug5 S12REtfnQq7HNK+dYm4Eg1gjjR5jTztUXCu7KMzdYfiplO/pxzp3uHM2v19i71yxERxt bdjmVd7PYco+WNWejedd0o2vrpIbppvWNLTHVzO8RSMyP09zPDUDWxOisXhG/XakwM+M L+lg== X-Gm-Message-State: APjAAAW0h/lPdQhcKpkWrLoQd9oRfn2nQZxjhZFdMcYNviUVYW0zrYUv GkSFeKX32WUfomI8G9z82ZBhYKHi X-Google-Smtp-Source: APXvYqwBHwpvL6tUUmPlQ650QPvOH1Gqc18XJgz91bCZLgtD4ByTsP79nFSlz+A1oSdKbDb3/oS1uA== X-Received: by 2002:a1c:7f4f:: with SMTP id a76mr29905201wmd.77.1579035325096; Tue, 14 Jan 2020 12:55:25 -0800 (PST) Received: from scaer.home ([2a01:cb19:8b51:cb00:8c14:e795:3c56:e06]) by smtp.gmail.com with ESMTPSA id b137sm21448095wme.26.2020.01.14.12.55.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 12:55:24 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Tue, 14 Jan 2020 21:55:19 +0100 Message-Id: <11d1ef09d50bb027aca094070792402d16d6c8b6.1579035147.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/5 v4] package/xenomai: move the version setting to Kconfig 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: Thomas De Schampheleire , Jan Kiszka , Romain Naour , "Yann E. MORIN" , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The xenomai version is decided in Kconfig, but the default value is set in the .mk. This is unlike the other packages that have a version choice (like linux, uboot...). Move the value into Config.in. This paves the way to using other custom sources, like from a git tree. Note however that any existing configuration will need to be adapted to the new settings. Adding legacy handling is non-trivial, so manual intervention will be required. Reported-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN Cc: Jan Kiszka cc: Romain Naour Cc: Thomas De Schampheleire --- package/xenomai/Config.in | 26 +++++++++++++++++--------- package/xenomai/xenomai.mk | 14 +++++++------- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/package/xenomai/Config.in b/package/xenomai/Config.in index 0cb0b343de..39d10ae695 100644 --- a/package/xenomai/Config.in +++ b/package/xenomai/Config.in @@ -41,17 +41,25 @@ config BR2_PACKAGE_XENOMAI if BR2_PACKAGE_XENOMAI -config BR2_PACKAGE_XENOMAI_VERSION - string "Custom Xenomai version" +choice + bool "Xenomai version" help - Manually select Xenomai version. If left empty, the default - version will be used. - Make sure that the selected version has a patch for your - selected Linux kernel. If it does not, download and select - a patch manually with - BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH, in the Linux - Kernel -> Linux Kernel Extensions menu. + selected Linux kernel. If it does not, download and select a + patch manually with BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH, + in the Linux Kernel -> Linux Kernel Extensions menu. + +config BR2_PACKAGE_XENOMAI_LATEST_VERSION + bool "Latest version (3.0.10)" + +config BR2_PACKAGE_XENOMAI_CUSTOM_VERSION + bool "Custom version" + +endchoice + +config BR2_PACKAGE_XENOMAI_VERSION + string "Custom Xenomai version" if !BR2_PACKAGE_XENOMAI_LATEST_VERSION + default "3.0.10" if BR2_PACKAGE_XENOMAI_LATEST_VERSION choice prompt "Xenomai core" diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk index 5f389ac851..bab9d6997d 100644 --- a/package/xenomai/xenomai.mk +++ b/package/xenomai/xenomai.mk @@ -5,14 +5,14 @@ ################################################################################ XENOMAI_VERSION = $(call qstrip,$(BR2_PACKAGE_XENOMAI_VERSION)) -ifeq ($(XENOMAI_VERSION),) -XENOMAI_VERSION = 3.0.10 -else -BR_NO_CHECK_HASH_FOR += $(XENOMAI_SOURCE) -endif - -XENOMAI_SITE = http://xenomai.org/downloads/xenomai/stable XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2 +XENOMAI_SITE = http://xenomai.org/downloads/xenomai/stable + +# Exclude all from the hash check, but the latest version. +ifeq ($(BR2_PACKAGE_XENOMAI)$(BR2_PACKAGE_XENOMAI_LATEST_VERSION),y) +BR_NO_CHECK_HASH_FOR += $(XENOMAI_SOURCE) +endif + XENOMAI_LICENSE = GPL-2.0+ with exception (headers), LGPL-2.1+ (libraries), GPL-2.0+ (kernel), GFDL-1.2+ (docs), GPL-2.0 (ipipe patch, can driver) # GFDL is not included but refers to gnu.org XENOMAI_LICENSE_FILES = debian/copyright include/COPYING kernel/cobalt/COPYING \ From patchwork Tue Jan 14 20:55:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1223057 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=A4T1o78k; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47y2mK0Dd0z9sP3 for ; Wed, 15 Jan 2020 07:55:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7469787820; Tue, 14 Jan 2020 20:55:42 +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 Dvp6rqd2e+HO; Tue, 14 Jan 2020 20:55:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 4AF84878F7; Tue, 14 Jan 2020 20:55:34 +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 88F9E1BF375 for ; Tue, 14 Jan 2020 20:55:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 85AAD84E0C for ; Tue, 14 Jan 2020 20:55:31 +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 21CVEgGZqCJM for ; Tue, 14 Jan 2020 20:55:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9A4898362E for ; Tue, 14 Jan 2020 20:55:27 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id d16so13611804wre.10 for ; Tue, 14 Jan 2020 12:55:27 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=ZgZh3fCV7T+Ql2MmahdGaTq/N99uKGOLHRcs2LN34Oo=; b=A4T1o78k+zmJbyyVFAGKqpOFxf2Qpz6teQXO417OKBMYVSfPolP8HRJPa+PCpm6i8F RfHiai6HM/SBu/ul3A3+m9YAMMR9jaYmnSKrIHRfFCLJCbnqtlA/u6BG/2lZozIzu1Yt d0hdI8EEXI2zoq5cL4lLpUmh1OtcEO3Ez48bFVdFz0nd2Vk15FWMjbe5OrVhUyLwnNXX nve6e7ACHjacAJHyz3t0HoXA820C96zAfXI9hnIFiWCk8C1pbehcMrzV3fezrMP6S+59 xpGQfIMT14owOewYU8UPKvIgRE3bxLUUkaLqZXIDUke+JeDWP1bZSUMskuxlOXmMM20c YDcg== 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:mime-version:content-transfer-encoding; bh=ZgZh3fCV7T+Ql2MmahdGaTq/N99uKGOLHRcs2LN34Oo=; b=ike6Gg6axqs19ZHAuMmpaLhI4WNwYQwru0tON5lJspn5DKi6fMlMG5u/CSmdRS84TM Ya2P5MMEocW4ebzu80Lw4Nr4UiLVlbbWYoPbpt+24P1bA6Ak0OTlg33ir/r3lhftZXhS h7ejoKaDzV21JzyTEqBTjh3fGsmg65ea2iOVat5F2wzmautcoW7RzYaSGuLO3dG6YCA9 Gi8sOpbZDsYBDNk46QWYCJsOS4ZeGS0Tas+IG+2zpZ7olzpkPtvAriU880ZGYW4XVshA Ur5AgdaMsJSVsxm6gA7IkWbdk0j/r3BfLhc/w/JXu5ZopfYzdSbaCHPA7XcuyG8wPVME 4VSg== X-Gm-Message-State: APjAAAX3XCTuZtm0v6twNNNpfYa9n+PnQKCuc6IQQ4s0IKi3Br3c0wOF IXfBH+6U2RU29XiagSQWxeNvLSI0 X-Google-Smtp-Source: APXvYqzBmXLSpItJAMr9uo/P44I/7IFMUUL4M1UChyD9wf91d+fH27c04Q5xvdzgc9JrrtVeLodDzw== X-Received: by 2002:adf:fc08:: with SMTP id i8mr28668943wrr.82.1579035325948; Tue, 14 Jan 2020 12:55:25 -0800 (PST) Received: from scaer.home ([2a01:cb19:8b51:cb00:8c14:e795:3c56:e06]) by smtp.gmail.com with ESMTPSA id b137sm21448095wme.26.2020.01.14.12.55.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 12:55:25 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Tue, 14 Jan 2020 21:55:20 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/5 v4] package/xenomai: add support to download a custom tarball 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: Thomas De Schampheleire , Jan Kiszka , Romain Naour , "Yann E. MORIN" , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Reported-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN Cc: Jan Kiszka Cc: Romain Naour Cc: Thomas De Schampheleire --- package/xenomai/Config.in | 8 ++++++++ package/xenomai/xenomai.mk | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/package/xenomai/Config.in b/package/xenomai/Config.in index 39d10ae695..326e1be737 100644 --- a/package/xenomai/Config.in +++ b/package/xenomai/Config.in @@ -55,11 +55,19 @@ config BR2_PACKAGE_XENOMAI_LATEST_VERSION config BR2_PACKAGE_XENOMAI_CUSTOM_VERSION bool "Custom version" +config BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL + bool "Custom tarball" + endchoice config BR2_PACKAGE_XENOMAI_VERSION string "Custom Xenomai version" if !BR2_PACKAGE_XENOMAI_LATEST_VERSION default "3.0.10" if BR2_PACKAGE_XENOMAI_LATEST_VERSION + depends on !BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL + +config BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL + string "URL of custom tarball" + depends on BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL choice prompt "Xenomai core" diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk index bab9d6997d..d169c2e315 100644 --- a/package/xenomai/xenomai.mk +++ b/package/xenomai/xenomai.mk @@ -5,8 +5,14 @@ ################################################################################ XENOMAI_VERSION = $(call qstrip,$(BR2_PACKAGE_XENOMAI_VERSION)) +ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL),y) +XENOMAI_TARBALL = $(call qstrip,$(BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL)) +XENOMAI_SOURCE = $(notdir $(XENOMAI_TARBALL)) +XENOMAI_SITE = $(patsubst %/,%,$(dir $(XENOMAI_TARBALL))) +else XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2 XENOMAI_SITE = http://xenomai.org/downloads/xenomai/stable +endif # Exclude all from the hash check, but the latest version. ifeq ($(BR2_PACKAGE_XENOMAI)$(BR2_PACKAGE_XENOMAI_LATEST_VERSION),y) From patchwork Tue Jan 14 20:55:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1223056 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=iNdchN38; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47y2mH3mvrz9sP3 for ; Wed, 15 Jan 2020 07:55:43 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7ABB220378; Tue, 14 Jan 2020 20:55:41 +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 fGxpmp1WY6qq; Tue, 14 Jan 2020 20:55:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6233C204E0; Tue, 14 Jan 2020 20:55:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id C04401BF375 for ; Tue, 14 Jan 2020 20:55:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BA49A85DA5 for ; Tue, 14 Jan 2020 20:55: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 XfQFiA7g6V_L for ; Tue, 14 Jan 2020 20:55:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id A29BB85C7A for ; Tue, 14 Jan 2020 20:55:28 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id t14so15362488wmi.5 for ; Tue, 14 Jan 2020 12:55:28 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=kH/+Mg3EoZjGwsZbBrEKc6ZuMQ3WHgso+C1x0cETaSw=; b=iNdchN38dc8+m4+VHIXfomcXEvhZT64qeTKhkWN2aeYyH7gQe16nZqhMGg3EbjwQ6w yjoJSN5cXHh16HM+n5Xpq0TD6ARnQkmwxAzTiBDiH834FlYs9hg/fWL7Pn4j9VFN1Un7 mTB2NG5ZouQYi/r5FyJa2hn2EqkHosdqooCu7XG+NB2go0cem8AnUN/C7i0EXRxMVb6H GdFTdsN71xE2zVy1EzPMzgSG5XOTsNXEpmCnvAScuENAJbwZs9HdHcgWNJvdJlE2qBaW qJhRNlmkcxvLYQdpYKFPOT/34Gk0ga1K29REjZEc3Yj68w/HKBF/mGITQvSGvE1YfbXy ko6w== 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:mime-version:content-transfer-encoding; bh=kH/+Mg3EoZjGwsZbBrEKc6ZuMQ3WHgso+C1x0cETaSw=; b=r01bf707Iq7jq5B8DAzytTMhvDZZPOuUaACL89Ehjzc2NEyzPNISdTYmPi23o8OFYr sEkRREer9A2THKbcrapvc/tbwwtp8Zl44W0+CqRv4ZdIp0MQno0Jir2yj6zyLAq6tZkt O7xnpFNkJr8HuNrNX57WJtS+5Wv+Uhp7OOHUE8nM8kMNuY9DApKBd+VOhVwDkdGUGOX7 vmuPPN/ioEoAuoVjrHTo7Sm6IAqaMTOV4pqiz49q+sv6sPmuslWhL9xQRTnIHv9kUgdm 2PLlEPQLKUOvx7GKxO/Rvy4oXqD8G6zW4i9YNjm8ZaOQiyLOaMFrQ7NVGwAiqYWLC2OK 5+ng== X-Gm-Message-State: APjAAAV0+yqBaXPCltdLzo6Pe0IPnJV23F7Rtoz9d6eykawRxihWxIRv mGc5Isj5SLLRzoVobVxVCCjExfKd X-Google-Smtp-Source: APXvYqx8XpjEUuIgNOyDVSHY3W1WhGeP8ZSbnT+qaK3vS2Q1pzWoxbiJnigvtjDkTylmmXKSXOqamg== X-Received: by 2002:a7b:c08d:: with SMTP id r13mr30866177wmh.104.1579035326816; Tue, 14 Jan 2020 12:55:26 -0800 (PST) Received: from scaer.home ([2a01:cb19:8b51:cb00:8c14:e795:3c56:e06]) by smtp.gmail.com with ESMTPSA id b137sm21448095wme.26.2020.01.14.12.55.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 12:55:26 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Tue, 14 Jan 2020 21:55:21 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 3/5 v4] package/xenomai: add support to download from a custom git tree 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: Jan Kiszka , Romain Naour , "Yann E . MORIN" , Thomas De Schampheleire Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Jan Kiszka Soem versions are tagged, but not tarballed, so we need to be able to retrieve them from git. Usually, we do not have a default value for the repository, but unlike for the kernel or the various bootloaders, the most prominent repository for Xeniomai is upstream's official one (for the reason above, amongst others), so we use that as a default. Signed-off-by: Jan Kiszka Signed-off-by: Yann E. MORIN Cc: Romain Naour Cc: Thomas De Schampheleire --- package/xenomai/Config.in | 8 ++++++++ package/xenomai/xenomai.mk | 3 +++ 2 files changed, 11 insertions(+) diff --git a/package/xenomai/Config.in b/package/xenomai/Config.in index 326e1be737..452b452039 100644 --- a/package/xenomai/Config.in +++ b/package/xenomai/Config.in @@ -58,8 +58,16 @@ config BR2_PACKAGE_XENOMAI_CUSTOM_VERSION config BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL bool "Custom tarball" +config BR2_PACKAGE_XENOMAI_CUSTOM_GIT + bool "Custom Git repository" + endchoice +config BR2_PACKAGE_XENOMAI_REPOSITORY + string "URL of custom repository" + default "https://gitlab.denx.de/Xenomai/xenomai.git" + depends on BR2_PACKAGE_XENOMAI_CUSTOM_GIT + config BR2_PACKAGE_XENOMAI_VERSION string "Custom Xenomai version" if !BR2_PACKAGE_XENOMAI_LATEST_VERSION default "3.0.10" if BR2_PACKAGE_XENOMAI_LATEST_VERSION diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk index d169c2e315..11c69000df 100644 --- a/package/xenomai/xenomai.mk +++ b/package/xenomai/xenomai.mk @@ -9,6 +9,9 @@ ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL),y) XENOMAI_TARBALL = $(call qstrip,$(BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL)) XENOMAI_SOURCE = $(notdir $(XENOMAI_TARBALL)) XENOMAI_SITE = $(patsubst %/,%,$(dir $(XENOMAI_TARBALL))) +else ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_GIT),y) +XENOMAI_SITE = $(call qstrip,$(BR2_PACKAGE_XENOMAI_REPOSITORY)) +XENOMAI_SITE_METHOD = git else XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2 XENOMAI_SITE = http://xenomai.org/downloads/xenomai/stable From patchwork Tue Jan 14 20:55:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1223055 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=F8RsNTOR; 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 47y2mG0cyNz9sP3 for ; Wed, 15 Jan 2020 07:55:41 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 259D185E2B; Tue, 14 Jan 2020 20:55:40 +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 L63F53So1AKW; Tue, 14 Jan 2020 20:55:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5C67D85DF7; Tue, 14 Jan 2020 20:55:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id C6D3D1BF375 for ; Tue, 14 Jan 2020 20:55:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C283D87820 for ; Tue, 14 Jan 2020 20:55:31 +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 8i-6PWdaYS2e for ; Tue, 14 Jan 2020 20:55:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id 526CD87327 for ; Tue, 14 Jan 2020 20:55:29 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id t2so13644540wrr.1 for ; Tue, 14 Jan 2020 12:55:29 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=DHwBTB9Le7d0bShyOJItZ2V2NjjgIDg+S3i7tRRrNQE=; b=F8RsNTORP2D9zThfeBZ5pPdQp7AG1mAwbaMMg/O2yWoiOtJg3G0HEMrLg/jLNZ4l8Y cOyJEEioZ76KVVtMnPdGRsCvEai/qSTr+G3Gxt3VpR75IAMoaJCrfzJ+JSwQuRzupWRs 0WLDyQqdC62Ofmekj9zkiglcNyUw1Sh5YFefz4nuVKq4EHsTRmvE/Nbr/SnLgRRJC8ZK EF0TdB9JpP2W8pDfrscthOPwRHaprlsN+Ff3OyIcINZ/T3lh65vIj7OAliLSjZt0aRe5 PQQfNUJD8BSLeQi1aQqA+cSo7JuQbDZxO0nYD+RV/ZwRhAEFWLfQ6f7YEDOsty8Ush9D Q4fQ== 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:mime-version:content-transfer-encoding; bh=DHwBTB9Le7d0bShyOJItZ2V2NjjgIDg+S3i7tRRrNQE=; b=rP64XwC3UPo5yik/qkLyhDyki+dwlS1aYXWkVlnZ5/cqPqu7DlhIlQsGcpJ+RCgavX EGc4VxxsKCtslCtLtM6m/jXp4FdKU5bMuVUqk9opeRAnM/bUG5EhjDk3szHkBMMnFzdD /3qESJlP7xlI0z+L9davv80lYSOAFyuNe5sikeGsphCLN93DiaXhtDgDiuIZNnNxUxEc XrV9Hm6TnoO1OylhEjbkKZv37USpHtAq+fqtL+OsmmCTyb0pcBnb3yzfeBFGIosLpDFb tKEVfHnBjwo4UbGHmnwIURl9zdTDXgpRC0HMYT3cPzyaFqpfzQRR7z3idFrw0HdjhQkc IiWg== X-Gm-Message-State: APjAAAWIPZixxtFpTUF8VCIcbUsWLEphP6gmHUSk8f0QYyp55HjAqDkL hkucYd0gLwYcCOOwOXSZxmeqU99T X-Google-Smtp-Source: APXvYqwUU11Vg72OqZn8OfjSMWF5MZvKQXnOQ6Jer42w1hsW4gBQoo2L7Dll6UBJQguNJ6wUYHpIAw== X-Received: by 2002:a05:6000:160d:: with SMTP id u13mr28003210wrb.22.1579035327594; Tue, 14 Jan 2020 12:55:27 -0800 (PST) Received: from scaer.home ([2a01:cb19:8b51:cb00:8c14:e795:3c56:e06]) by smtp.gmail.com with ESMTPSA id b137sm21448095wme.26.2020.01.14.12.55.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 12:55:27 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Tue, 14 Jan 2020 21:55:22 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 4/5 v4] package/xenomai: add support to download from a custom Hg tree 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: Thomas De Schampheleire , Jan Kiszka , Romain Naour , "Yann E. MORIN" , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Reported-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN Cc: Jan Kiszka Cc: Romain Naour Cc: Thomas De Schampheleire --- package/xenomai/Config.in | 8 ++++++-- package/xenomai/xenomai.mk | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package/xenomai/Config.in b/package/xenomai/Config.in index 452b452039..114aec3968 100644 --- a/package/xenomai/Config.in +++ b/package/xenomai/Config.in @@ -61,12 +61,16 @@ config BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL config BR2_PACKAGE_XENOMAI_CUSTOM_GIT bool "Custom Git repository" +config BR2_PACKAGE_XENOMAI_CUSTOM_HG + bool "Custom Mercurial repository" + endchoice config BR2_PACKAGE_XENOMAI_REPOSITORY string "URL of custom repository" - default "https://gitlab.denx.de/Xenomai/xenomai.git" - depends on BR2_PACKAGE_XENOMAI_CUSTOM_GIT + default "https://gitlab.denx.de/Xenomai/xenomai.git" if BR2_PACKAGE_XENOMAI_CUSTOM_GIT + depends on BR2_PACKAGE_XENOMAI_CUSTOM_GIT \ + || BR2_PACKAGE_XENOMAI_CUSTOM_HG config BR2_PACKAGE_XENOMAI_VERSION string "Custom Xenomai version" if !BR2_PACKAGE_XENOMAI_LATEST_VERSION diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk index 11c69000df..e2a89cfeb9 100644 --- a/package/xenomai/xenomai.mk +++ b/package/xenomai/xenomai.mk @@ -12,6 +12,9 @@ XENOMAI_SITE = $(patsubst %/,%,$(dir $(XENOMAI_TARBALL))) else ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_GIT),y) XENOMAI_SITE = $(call qstrip,$(BR2_PACKAGE_XENOMAI_REPOSITORY)) XENOMAI_SITE_METHOD = git +else ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_HG),y) +XENOMAI_SITE = $(call qstrip,$(BR2_PACKAGE_XENOMAI_REPOSITORY)) +XENOMAI_SITE_METHOD = hg else XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2 XENOMAI_SITE = http://xenomai.org/downloads/xenomai/stable From patchwork Tue Jan 14 20:55:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1223058 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=WG6luPnX; 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 47y2mM1Gn5z9sP3 for ; Wed, 15 Jan 2020 07:55:47 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D23A685DDB; Tue, 14 Jan 2020 20:55:44 +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 3ifW5NV_UlQZ; Tue, 14 Jan 2020 20:55:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A749885D41; Tue, 14 Jan 2020 20:55:38 +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 407B91BF375 for ; Tue, 14 Jan 2020 20:55:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3C26C204EB for ; Tue, 14 Jan 2020 20:55:34 +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 BR3dF9O8YkUW for ; Tue, 14 Jan 2020 20:55:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by silver.osuosl.org (Postfix) with ESMTPS id 3B2C11FEAB for ; Tue, 14 Jan 2020 20:55:30 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id d16so13611915wre.10 for ; Tue, 14 Jan 2020 12:55:30 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=2QSSKlSK/i2bOsjvGI+htnPqAWywzTgZTbnBECSyNp4=; b=WG6luPnXmxYymch5Cgu1yQjz7tATpGGKsgJxYPxF2No9mvGaHgZUzHQb0fRSuVjn3B 9EecPWouy3mjLMVeSGycGN5EmW6PARGy96z94sMl/DXsW5JjInBsTJEr7hpNClWNcEy+ sl5TEvuvrDDGqQwjpgSi0OGWrPB8usVt7uGN5cTZlQQSlp8tknJ+QTTFU1VqqwfTJmAd VmtpZHB4rgXJl4ZIaZqD3TfnHKmnTEoBRxeE/fb/CYYNUq8pS00EBwP+17KY4zOQ0iX6 CrHToP2cp7hVENbqWNsy9aPVx8hfLshNGQvsZ71HkCFpJqMQZ5de4Sw0LPJOQ79jEopd wgEg== 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:mime-version:content-transfer-encoding; bh=2QSSKlSK/i2bOsjvGI+htnPqAWywzTgZTbnBECSyNp4=; b=YAoix/7rS4WqnqpdpHflpkrSNC4PghTC1uFqT2S/XH6O2x6fHH5a/6aPlYfm4DJThd 3Mrhj+kjX5tshith18CWhZYUpI2GPCYFvnTwxRpj07s1PwyB7Rrny7sO1eAdEBaUC0Sd jcDsrZIjNlSbXD4U8tQIrdnCNR3ViK+WapzfBmN5gB+96Y9duD/KVTI9U6JQUrcrZgXp 2CeZEndlAuEFy8+F1BKYDo1SHFxwCeYopqAGBsLGQQFiVw1URMCgIgvSfJIG6ZuUkdN/ GG9WHNgJb+BifyIs6cE0lYhBUduFXBmfPxuHHx74hYjJ8BVS7Mf+5CUGg2UxNkl79Sjh Wfug== X-Gm-Message-State: APjAAAWkhdCVS4A4nTv+ksn8Ecqc14Xm8zeOgyyBZyhgSUN8Z5wmZHov +yyr9gSeH1fQQG2jhtYZsRFNdM1c X-Google-Smtp-Source: APXvYqz5j/BbE5EexsW+3Kzi7j6+A3rw8PWcROvwfcrwkVDX0ks1URJAcKwueZTkoq0oVSQvrncZQg== X-Received: by 2002:adf:eb46:: with SMTP id u6mr27773408wrn.239.1579035328598; Tue, 14 Jan 2020 12:55:28 -0800 (PST) Received: from scaer.home ([2a01:cb19:8b51:cb00:8c14:e795:3c56:e06]) by smtp.gmail.com with ESMTPSA id b137sm21448095wme.26.2020.01.14.12.55.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 12:55:28 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Tue, 14 Jan 2020 21:55:23 +0100 Message-Id: <65857f8b385110e6dfc59ae8011df19181006c1b.1579035147.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 5/5 v4] package/xenomai: add support to download from a custom svn tree 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: Thomas De Schampheleire , Jan Kiszka , Romain Naour , "Yann E. MORIN" , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Reported-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN Cc: Jan Kiszka Cc: Romain Naour Cc: Thomas De Schampheleire --- package/xenomai/Config.in | 6 +++++- package/xenomai/xenomai.mk | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package/xenomai/Config.in b/package/xenomai/Config.in index 114aec3968..44973aab50 100644 --- a/package/xenomai/Config.in +++ b/package/xenomai/Config.in @@ -64,13 +64,17 @@ config BR2_PACKAGE_XENOMAI_CUSTOM_GIT config BR2_PACKAGE_XENOMAI_CUSTOM_HG bool "Custom Mercurial repository" +config BR2_PACKAGE_XENOMAI_CUSTOM_SVN + bool "Custom Subversion repository" + endchoice config BR2_PACKAGE_XENOMAI_REPOSITORY string "URL of custom repository" default "https://gitlab.denx.de/Xenomai/xenomai.git" if BR2_PACKAGE_XENOMAI_CUSTOM_GIT depends on BR2_PACKAGE_XENOMAI_CUSTOM_GIT \ - || BR2_PACKAGE_XENOMAI_CUSTOM_HG + || BR2_PACKAGE_XENOMAI_CUSTOM_HG \ + || BR2_PACKAGE_XENOMAI_CUSTOM_SVN config BR2_PACKAGE_XENOMAI_VERSION string "Custom Xenomai version" if !BR2_PACKAGE_XENOMAI_LATEST_VERSION diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk index e2a89cfeb9..f7211bf856 100644 --- a/package/xenomai/xenomai.mk +++ b/package/xenomai/xenomai.mk @@ -15,6 +15,9 @@ XENOMAI_SITE_METHOD = git else ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_HG),y) XENOMAI_SITE = $(call qstrip,$(BR2_PACKAGE_XENOMAI_REPOSITORY)) XENOMAI_SITE_METHOD = hg +else ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_SVN),y) +XENOMAI_SITE = $(call qstrip,$(BR2_PACKAGE_XENOMAI_REPOSITORY)) +XENOMAI_SITE_METHOD = svn else XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2 XENOMAI_SITE = http://xenomai.org/downloads/xenomai/stable