From patchwork Fri Aug 14 22:34:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Avi Shukron X-Patchwork-Id: 1345224 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=fail (p=none dis=none) header.from=gmail.com 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=fY9o4pzB; 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 4BSytw1fmJz9sTH for ; Sat, 15 Aug 2020 08:35:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0FB1888C78; Fri, 14 Aug 2020 22:35:18 +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 PQ62zsykQZWP; Fri, 14 Aug 2020 22:35:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 83DA588C70; Fri, 14 Aug 2020 22:35:17 +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 C6B671BF29E for ; Fri, 14 Aug 2020 22:35:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C16C388C70 for ; Fri, 14 Aug 2020 22:35:16 +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 fSoBwRLrW0Xp for ; Fri, 14 Aug 2020 22:35:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by whitealder.osuosl.org (Postfix) with ESMTPS id 41CAF88A2B for ; Fri, 14 Aug 2020 22:35:15 +0000 (UTC) Received: by mail-wr1-f54.google.com with SMTP id l2so9599577wrc.7 for ; Fri, 14 Aug 2020 15:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V9vX+LRVVbtb0rOrQr9JL91D88fJbEh+VEAPC1aDcR8=; b=fY9o4pzBHqMrijprFFOsla27mNW8y31cQwV1WDI33bfzI1xGCwnASrmToqfz9BoVup Jk/s8euRShic9m2utTe3tV0P6XS66eYVippfTAslqu3lbO7Ni17En45OirPyU/5R4pft cnCrDi4jP+3qbbJCcjBiH5SX+//AKo1MjRZc0d3jnSFl5zLZomfVtjxn0INsOR7eoW6V ykczuHQmSfc+Md0Q4c/MllEtjNORGXK9Rq2ANU0WApSBBDuN5SOpmCpCT0p6q5Sw6Z8f NNXMKAc1KvZjaYIRg/cQbdX2QbJKO9cYHm7waVifXeKNiVxo1upbrsVIXE/MOo8TXE6c PM4g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=V9vX+LRVVbtb0rOrQr9JL91D88fJbEh+VEAPC1aDcR8=; b=QHnHajC4Kgq2+ZRCK+/RQrAPZZHyefXBZbtpVFbzvHC6cFI1JZ35y6ppQZMzKHDwPD +OTmQHuKTGKsWPATPfYy1q52gdsHJpFv9bNWK55KCdR+z39WdgtOOl8M6psBKe3dwg6y zs05zk8+MUWRlx6dcA4+XZpHukBN8oJ+AYbzKckGyrPUnpYGq2u2sL2gScV2poFU8XbY iPl+vqfAZQwtEGRCs1N6vOSUIepQq0xfaNZ281gctVfWxBjXlgGVDjd+7jsAPPq4GAQj e+Qc7MuA5a41yc2wPsQCupsZ4CeUsvuxXSQlGMPf37Lp+VhUud/MJmIzjfmkxov1QeJ4 v/6g== X-Gm-Message-State: AOAM533Fi4lCkEJvBEOksETw7TNn7wKjbGg4SEIymGhkN4xyTmF5LifS v5qiHUVy+edXFrfcz+LwxoXGk2ElvmYB1Q== X-Google-Smtp-Source: ABdhPJy+Aw+R6ECxGcniIljKwf+cBHaPc+8dVQyNWGjJeN5AI7zIdALsLBirZ/8kaboXWgMlVuIdZQ== X-Received: by 2002:adf:f590:: with SMTP id f16mr4132250wro.98.1597444513279; Fri, 14 Aug 2020 15:35:13 -0700 (PDT) Received: from localhost.localdomain (89-139-252-75.bb.netvision.net.il. [89.139.252.75]) by smtp.gmail.com with ESMTPSA id 124sm17584684wmd.31.2020.08.14.15.35.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Aug 2020 15:35:12 -0700 (PDT) From: Avi Shukron To: buildroot@buildroot.org Date: Sat, 15 Aug 2020 01:34:54 +0300 Message-Id: <20200814223455.629710-1-avraham.shukron@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200813204540.GJ13263@scaer> References: <20200813204540.GJ13263@scaer> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2] libbacktrace: new package 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: yann.morin.1998@free.fr, Avi Shukron Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" A C library that may be linked into a C/C++ program to produce symbolic backtraces. Signed-off-by: Avi Shukron --- package/Config.in | 1 + package/libbacktrace/Config.in | 7 +++++++ package/libbacktrace/libbacktrace.hash | 3 +++ package/libbacktrace/libbacktrace.mk | 15 +++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/libbacktrace/Config.in create mode 100644 package/libbacktrace/libbacktrace.hash create mode 100644 package/libbacktrace/libbacktrace.mk diff --git a/package/Config.in b/package/Config.in index d7e79f4795..7460d3f006 100644 --- a/package/Config.in +++ b/package/Config.in @@ -170,6 +170,7 @@ menu "Development tools" source "package/grep/Config.in" source "package/jo/Config.in" source "package/jq/Config.in" + source "package/libbacktrace/Config.in" source "package/libtool/Config.in" source "package/make/Config.in" source "package/patch/Config.in" diff --git a/package/libbacktrace/Config.in b/package/libbacktrace/Config.in new file mode 100644 index 0000000000..0f940dd588 --- /dev/null +++ b/package/libbacktrace/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_LIBBACKTRACE + bool "libbacktrace" + help + A C library that may be linked into a C/C++ program to + produce symbolic backtraces + + https://github.com/ianlancetaylor/libbacktrace diff --git a/package/libbacktrace/libbacktrace.hash b/package/libbacktrace/libbacktrace.hash new file mode 100644 index 0000000000..ecd530a33b --- /dev/null +++ b/package/libbacktrace/libbacktrace.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 13072c499c76866c188beaf3d50f3dddbf2c27ed9fd72b33d1b857acd33b1cb5 libbacktrace-9b7f216e867916594d81e8b6118f092ac3fcf704.tar.gz +sha256 ef8a9b3247488f8901ca60de9b17b745d7bd67e5ec1e622f80d62364572200d8 LICENSE diff --git a/package/libbacktrace/libbacktrace.mk b/package/libbacktrace/libbacktrace.mk new file mode 100644 index 0000000000..fb1f6c058a --- /dev/null +++ b/package/libbacktrace/libbacktrace.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libbacktrace +# +################################################################################ + +LIBBACKTRACE_VERSION = 9b7f216e867916594d81e8b6118f092ac3fcf704 +LIBBACKTRACE_SITE = $(call github,ianlancetaylor,libbacktrace,$(LIBBACKTRACE_VERSION)) + +LIBBACKTRACE_LICENSE = BSD-3C-like +LIBBACKTRACE_LICENSE_FILES = LICENSE + +LIBBACKTRACE_INSTALL_STAGING = YES + +$(eval $(autotools-package))