From patchwork Thu Aug 14 15:55:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 379942 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 CED861400F0 for ; Fri, 15 Aug 2014 01:55:16 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E6B848AAC3; Thu, 14 Aug 2014 15:55:15 +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 1eU76K+a3wdI; Thu, 14 Aug 2014 15:55:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 34B8B88985; Thu, 14 Aug 2014 15:55:14 +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 3FA7E1C164F for ; Thu, 14 Aug 2014 15:55:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3B44488985 for ; Thu, 14 Aug 2014 15:55:13 +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 m2DyiGqj5K-k for ; Thu, 14 Aug 2014 15:55:12 +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 8106F884C5 for ; Thu, 14 Aug 2014 15:55:12 +0000 (UTC) Received: from nosuchhost.198.131.in-addr.arpa (HELO crulimr02.rockwellcollins.com) ([131.198.26.125]) by mail-virt.rockwellcollins.com with ESMTP; 14 Aug 2014 10:55:11 -0500 From: Matt Weber To: buildroot@busybox.net Date: Thu, 14 Aug 2014 10:55:10 -0500 Message-Id: <1408031710-18439-1-git-send-email-Matthew.Weber@rockwellcollins.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH v4] 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. Signed-off-by Matt Weber --- Changes v3 -> v4 - Moved signed off line --- (suggested by Thomas P.) Changes v2 -> v3 - Moved description above --- (suggested by Ryan) 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. 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.