From patchwork Thu Feb 4 13:40:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 578920 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 0C38814033B for ; Fri, 5 Feb 2016 00:40:59 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 29DDCA5D9C; Thu, 4 Feb 2016 13:40:59 +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 UNWFDHy01IIm; Thu, 4 Feb 2016 13:40:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id E1CFEA5BA3; Thu, 4 Feb 2016 13:40:55 +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 E23371C0FC2 for ; Thu, 4 Feb 2016 13:40:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DD57D92045 for ; Thu, 4 Feb 2016 13:40:53 +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 AtxvFOqkoota for ; Thu, 4 Feb 2016 13:40:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.datacom.ind.br (mx.datacom.ind.br [177.66.5.10]) by whitealder.osuosl.org (Postfix) with ESMTPS id D1B1991F98 for ; Thu, 4 Feb 2016 13:40:51 +0000 (UTC) Received: from mail.datacom.ind.br (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTPS id 2650C1707930; Thu, 4 Feb 2016 11:40:39 -0200 (BRST) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTP id 13474170792D; Thu, 4 Feb 2016 11:40:39 -0200 (BRST) Received: from mail.datacom.ind.br ([127.0.0.1]) by localhost (mail.datacom.ind.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1oV-kUnp6nEl; Thu, 4 Feb 2016 11:40:38 -0200 (BRST) Received: from PEDELD048.datacom.net (pedeld048.datacom.net [10.0.120.146]) by mail.datacom.ind.br (Postfix) with ESMTPSA id DB0011707904; Thu, 4 Feb 2016 11:40:38 -0200 (BRST) From: Carlos Santos To: buildroot@buildroot.org Date: Thu, 4 Feb 2016 11:40:38 -0200 Message-Id: <1454593238-5352-1-git-send-email-casantos@datacom.ind.br> X-Mailer: git-send-email 2.5.0 Cc: guilherme.machado@datacom.ind.br Subject: [Buildroot] [PATCH 1/1] libbsd: upgrade to v0.8.2 and expand architecture support 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" There is no reason to limit libbsd to ARM, x86 and x86_64. MicroBlaze is the only architecture supported by Buildroot that is not supported by libbsd. According to Arnout Vandecappelle, "the exclusion was "from the time that we only supported glibc for external toolchains and it didn't get too much attention. So we missed the fact that glibc doesn't include linux/a.out.h". Signed-off-by: Carlos Santos --- package/libbsd/Config.in | 9 +++++---- package/libbsd/libbsd.hash | 2 +- package/libbsd/libbsd.mk | 2 +- package/netcat-openbsd/Config.in | 6 +++--- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in index d521f05..f5012c1 100644 --- a/package/libbsd/Config.in +++ b/package/libbsd/Config.in @@ -1,9 +1,10 @@ config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS bool - # libbsd requires a.out.h, which is only available for those - # architectures: arm, x86 (and alpha, currently not supported in Buildroot; - # also m68k which is currently not enabled, so can't be tested.) - default y if BR2_arm || BR2_i386 || BR2_x86_64 + # libbsd does not support the MicroBlaze ELF machine type (see local-elf.h) + default y if !BR2_microblaze + +comment "libbsd does not support the MicroBlaze architecture" + depends on !BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS config BR2_PACKAGE_LIBBSD bool "libbsd" diff --git a/package/libbsd/libbsd.hash b/package/libbsd/libbsd.hash index be4ba50..f77c0aa 100644 --- a/package/libbsd/libbsd.hash +++ b/package/libbsd/libbsd.hash @@ -1,2 +1,2 @@ # Locally calculated after checking pgp signature -sha256 9e8f34ffa9c8579c87965a55a82d8ac37a1dc64858f717b7c49452ade277cc62 libbsd-0.6.0.tar.xz +sha256 b2f644cae94a6e2fe109449c20ad79a0f6ee4faec2205b07eefa0020565e250a libbsd-0.8.2.tar.xz diff --git a/package/libbsd/libbsd.mk b/package/libbsd/libbsd.mk index 99a9572..634a614 100644 --- a/package/libbsd/libbsd.mk +++ b/package/libbsd/libbsd.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBBSD_VERSION = 0.6.0 +LIBBSD_VERSION = 0.8.2 LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.xz LIBBSD_SITE = http://libbsd.freedesktop.org/releases LIBBSD_LICENSE = BSD-3c, MIT diff --git a/package/netcat-openbsd/Config.in b/package/netcat-openbsd/Config.in index 346561a..7da0477 100644 --- a/package/netcat-openbsd/Config.in +++ b/package/netcat-openbsd/Config.in @@ -18,7 +18,7 @@ config BR2_PACKAGE_NETCAT_OPENBSD https://packages.debian.org/sid/netcat-openbsd -comment "netcat-openbsd needs an (e)glibc toolchain w/ threads" - depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC +comment "netcat-openbsd needs libbsd and an (e)glibc toolchain w/ threads" + depends on !BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS || \ + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC ~