From patchwork Thu Aug 14 02:44:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 379784 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 3552A14008F for ; Thu, 14 Aug 2014 12:44:33 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4B9598A23F; Thu, 14 Aug 2014 02:44:32 +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 fikyyfGLcjze; Thu, 14 Aug 2014 02:44:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 714AB8AA82; Thu, 14 Aug 2014 02:44:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B1E371C2453 for ; Thu, 14 Aug 2014 02:44:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AC9748AAC3 for ; Thu, 14 Aug 2014 02:44:29 +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 AHM+R2kxwOq6 for ; Thu, 14 Aug 2014 02:44:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from secvs02.rockwellcollins.com (secvs02.rockwellcollins.com [205.175.225.241]) by whitealder.osuosl.org (Postfix) with ESMTPS id CB44F8AABA for ; Thu, 14 Aug 2014 02:44:28 +0000 (UTC) Received: from nosuchhost.198.131.in-addr.arpa (HELO crulimr01.rockwellcollins.com) ([131.198.26.129]) by mail-virt.rockwellcollins.com with ESMTP; 13 Aug 2014 21:44:28 -0500 From: Matt Weber To: buildroot@busybox.net Date: Wed, 13 Aug 2014 21:44:25 -0500 Message-Id: <1407984265-10795-1-git-send-email-Matthew.Weber@rockwellcollins.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH v2] fio: add missing libaio dependency X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net --- The fio package dlopen()s the libaio library at runtime when the ioengine function is selected as libaio. Changes v1 -> v2 - Renamed patch to not mention bugfix or description - Removed build dependency as we only need a config dependency for libaio. Suggested by Thomas P. - Added dependencies to Config.in for targets that libaio supports building for. Suggested by Thomas P. - Updated comment before select of libaio in Config.in Suggested by Thomas P. Signed-off-by Matt Weber package/fio/Config.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/fio/Config.in b/package/fio/Config.in index 8cbbf6c..d70f3f7 100644 --- a/package/fio/Config.in +++ b/package/fio/Config.in @@ -13,7 +13,12 @@ config BR2_PACKAGE_FIO !BR2_UCLIBC_VERSION_0_9_31 # fio uses fallocate() which becomes fallocate64() while compiling # with BR2_LARGEFILE but fallocate64() is not available on nios2 - depends on !BR2_nios2 + depends on \ + BR2_arm || BR2_armeb || BR2_avr32 || BR2_i386 || \ + BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc || \ + BR2_sparc || BR2_x86_64 + # Runtime dependency: libaio is dlopen()ed by fio + select BR2_PACKAGE_LIBAIO help fio is an I/O tool meant to be used both for benchmark and stress/hardware verification.