From patchwork Sun Oct 5 19:47:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 396697 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 1273814016A for ; Mon, 6 Oct 2014 06:48:04 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 13025A1E26; Sun, 5 Oct 2014 19:48:04 +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 K7tvUg4R7iK2; Sun, 5 Oct 2014 19:48:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B3EDBA1D03; Sun, 5 Oct 2014 19:48:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 3C0601C27CA for ; Sun, 5 Oct 2014 19:48:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3471531DDD for ; Sun, 5 Oct 2014 19:48:01 +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 MjlweINhUsBA for ; Sun, 5 Oct 2014 19:47:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by silver.osuosl.org (Postfix) with ESMTPS id 8680D33206 for ; Sun, 5 Oct 2014 19:47:58 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id m15so5006299wgh.4 for ; Sun, 05 Oct 2014 12:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=eSXHyJqDUh+UgwvxNE2tUSp6IAcTme0Qp28IL+wXSM4=; b=nVF/dFcb2BNopERcXtN0jWCqE7GGAXnQk0/41FmDid9UOphX0TKB83oqVCO6lYUbF3 r5qmcW2ycBFgSvvvKTnM8jroccVkCkU6OJ4XdZ2TFqbJ3zdIdS7bAMPyLEOf5XAuqhYC qpI/XHzeLWKECEUzlbRlaEDWJMxoIU9EbI0vb8BcHXAewf9WfifR7SzOxx26NISWS7/a T2mLEa+RRsG+cxn78it8lqAUlwhO544ToG3z3bVP7lYBN47fqZY0zJXojm7aGjlnBtUk jLGmhSrPcFfwI+mCpfcQ1mSWN8iRbssMTaG38kg/ZF0Dlwu2lvIvAHragsoOWVUF9fDs JalQ== X-Received: by 10.194.57.237 with SMTP id l13mr25078695wjq.102.1412538476945; Sun, 05 Oct 2014 12:47:56 -0700 (PDT) Received: from localhost.localdomain (13-105-190-109.dsl.ovh.fr. [109.190.105.13]) by mx.google.com with ESMTPSA id c7sm8937349wib.12.2014.10.05.12.47.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 05 Oct 2014 12:47:56 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Sun, 5 Oct 2014 21:47:52 +0200 Message-Id: <1412538472-5067-1-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.1.1 Subject: [Buildroot] [PATCH v3] libbsd: Enable the ARM architecture 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" Rework the architecture support. Signed-off-by: Maxime Hadjinlian --- v2 -> v3: - Change title of the commit - Add LIBBSD_ARCH_SUPPORT variable - Modify comment v1 -> v2: - Remove m68k as it is currently marked broken in BR --- package/libbsd/Config.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in index e22226a..d521f05 100644 --- a/package/libbsd/Config.in +++ b/package/libbsd/Config.in @@ -1,8 +1,13 @@ +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 + config BR2_PACKAGE_LIBBSD bool "libbsd" - # libbsd requires a.out.h, which is only available for those - # architectures: arm, m68k, x86 (and alpha, but we don't care.) - depends on ( BR2_i386 || BR2_x86_64 ) + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_USES_GLIBC help @@ -15,5 +20,5 @@ config BR2_PACKAGE_LIBBSD http://libbsd.freedesktop.org/ comment "libbsd needs an (e)glibc toolchain w/ threads" - depends on ( BR2_i386 || BR2_x86_64 ) + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC