From patchwork Sun Jan 31 21:27:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 1433954 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; 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=Du7Sj1M6; 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 4DTPLj49Ksz9t1D for ; Mon, 1 Feb 2021 08:27:56 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2E0F185775; Sun, 31 Jan 2021 21:27:54 +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 GYLCA5xwPTDf; Sun, 31 Jan 2021 21:27:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4098085485; Sun, 31 Jan 2021 21:27:51 +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 8CB211BF3C1 for ; Sun, 31 Jan 2021 21:27:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 87BE5867BB for ; Sun, 31 Jan 2021 21:27:50 +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 cKirIgAhWAq4 for ; Sun, 31 Jan 2021 21:27:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9E91386797 for ; Sun, 31 Jan 2021 21:27:49 +0000 (UTC) Received: by mail-ej1-f53.google.com with SMTP id p20so1891870ejb.6 for ; Sun, 31 Jan 2021 13:27:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Tfuh5txS0AI2zzLFaRv0nhIb+NFKhD0x5CXEQc9U/IU=; b=Du7Sj1M62xtxtR7fNVfl/M/lY+c0rtuqriNFOusnoagXVKYkXHSWugnKdyOw1YEJ5u ietsDqlRs+vgqjsElf0AgyE1PKPlN8nbuwlawtXpic9G+d7q91AMK+p0S2yOxhLDtlAU /Fi2KuBxtyIfpb6VakS7pFlHOEQZzhAryn8a4q36528TapOJWIbAclrKwmDtrz0i8oGE i8HtsMfdt4KMYQH6GQF8yVaFoqZKi0i3d46cLh9NDTzW+Xi4B652WDD4/8+eXI9LOvhu mnSGPF72BGBlsB0oV1xB2/odTvHgKGWZUhR4v93oHX5oQZ+2wyY9rfIyX5N0bRwD4Im0 S3Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Tfuh5txS0AI2zzLFaRv0nhIb+NFKhD0x5CXEQc9U/IU=; b=ZHQx3Z2i2vhdVwLIfByFFe2QS/hnULVF2W7DvEH6QWmWgtWz3bEfDEHYgn7D9j76Ue A5Jip6NWb3QaV5wqtaWP7xni5DzlnRfJwV8kWDg9gPxjXhn+6EQtOL1bLdJ8ScVM833Y XNgswpIHpcDrxNKRUkjnHT908sDYBgPdHWrlUu2i50pTHxyDj163ZJHhWyu1pwXkwnb+ s51NElJoACuHs06Yj5TUULJcDi36iXSg+kfifmLzbn7e5XbPWyTVb0Mtzp8uMuzhrS7a ODKr46a4ykh+JnQb6vQCB0PE6pMT2GJ4SdX/q4aHyRtAELQZ02K1e9Nwme1pA4NyZ+0u 1O5A== X-Gm-Message-State: AOAM532B+BDO9lyOLZB3QUMPI5QtQVelrC8klV5lCYgx2ZDGOwO4l/xl +yUrGwDTJP50z0hZE5lQh95dPWjylPGq3Qg5 X-Google-Smtp-Source: ABdhPJzfmHGonY0BLiFrEpyWojPab2BsCQicGoHJ2J2+FvXLjUhwqXDp1DXHZ4yBdj3ZVj5Y2k67pw== X-Received: by 2002:a17:906:3e96:: with SMTP id a22mr14575454ejj.144.1612128468162; Sun, 31 Jan 2021 13:27:48 -0800 (PST) Received: from localhost (ptr-5gw9tzn82s1glqex1i.18120a2.ip6.access.telenet.be. [2a02:1810:510:3800:ad4b:62a2:fdc7:acc6]) by smtp.gmail.com with ESMTPSA id y20sm7495519edc.84.2021.01.31.13.27.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 13:27:47 -0800 (PST) From: Thomas De Schampheleire To: buildroot@buildroot.org Date: Sun, 31 Jan 2021 22:27:40 +0100 Message-Id: <20210131212741.16880-1-patrickdepinguin@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/xenomai: set 'custom' as version in case of 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: Matt Weber , Romain Naour , Alistair Francis , Thomas De Schampheleire Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Thomas De Schampheleire When BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL is selected, the xenomai package declared an empty version, which among others means that the build directory becomes output/build/xenomai without any version specification, and empty version information in 'xenomai-show-info'. Other packages that allow a custom tarball, like 'linux' and 'arm-trusted-firmware', specify 'custom' as version in this case. Adapt the xenomai package accordingly. Signed-off-by: Thomas De Schampheleire --- package/xenomai/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/xenomai/Config.in b/package/xenomai/Config.in index 452b452039..b655733528 100644 --- a/package/xenomai/Config.in +++ b/package/xenomai/Config.in @@ -69,9 +69,11 @@ config BR2_PACKAGE_XENOMAI_REPOSITORY depends on BR2_PACKAGE_XENOMAI_CUSTOM_GIT config BR2_PACKAGE_XENOMAI_VERSION - string "Custom Xenomai version" if !BR2_PACKAGE_XENOMAI_LATEST_VERSION + string "Custom Xenomai version" if \ + !BR2_PACKAGE_XENOMAI_LATEST_VERSION && \ + !BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL default "3.0.10" if BR2_PACKAGE_XENOMAI_LATEST_VERSION - depends on !BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL + default "custom" if BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL config BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL string "URL of custom tarball"