From patchwork Sat Jan 5 14:10:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 209675 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 9B1DD2C008C for ; Sun, 6 Jan 2013 01:11:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D2AC930021; Sat, 5 Jan 2013 14:11:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 82s8zg-KMfEi; Sat, 5 Jan 2013 14:11:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 3CA742FF9D; Sat, 5 Jan 2013 14:11:21 +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 DA0D78F753 for ; Sat, 5 Jan 2013 14:11:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D05778BD27 for ; Sat, 5 Jan 2013 14:11:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24JGA8Wh++f8 for ; Sat, 5 Jan 2013 14:11:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by whitealder.osuosl.org (Postfix) with ESMTPS id D91328BBDE for ; Sat, 5 Jan 2013 14:11:16 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id u54so8581086wey.13 for ; Sat, 05 Jan 2013 06:11:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references; bh=Z0aJlhr5veslu9EdB4/DFcvZKjdeOM8prhpIWgS/4pM=; b=SX+35AKdO/vaP9S6atoS/ZR9CaZbBB4gd3QEYdnpN1H5vllWirZLXo6k2/kocpOCKa scSIX35BNx++Q73SY7CtPhJ6zfze8ujzre2cE08loWOSdltHzfZSXZnl+l8KZPHCXzDW C7H44UbJ3D97DEWg5n/CQrQJE6VUGsb4IEjNRnDU1Zl83LCwW3wF/dW7AJfioVNLNueN Ml/b/4/dOook+P+M8bQrTcEGej/x3fWJMjMancs77FlInByembhlZry1/zsVfiNyJssf IN6jXCUfVpGubDvY3zRxe1784McnJ/9Ju39Pe2OEF0gvy1IWC1VVu0uZ5PTIV1WfgNnu zROg== X-Received: by 10.180.81.39 with SMTP id w7mr2221064wix.15.1357395075011; Sat, 05 Jan 2013 06:11:15 -0800 (PST) Received: from localhost.localdomain (13-105-190-109.dsl.ovh.fr. [109.190.105.13]) by mx.google.com with ESMTPS id bw9sm3450406wib.5.2013.01.05.06.11.13 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 05 Jan 2013 06:11:14 -0800 (PST) From: Maxime Hadjinlian To: buildroot@busybox.net Date: Sat, 5 Jan 2013 15:10:52 +0100 Message-Id: X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: In-Reply-To: References: Subject: [Buildroot] [PATCH 1/3] libcofi: new package 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 replacement for memcpy and memset functionality This package was originally found at : https://github.com/huceke/buildroot-rbp By gimli Signed-off-by: Maxime Hadjinlian --- package/Config.in | 1 + package/libcofi/Config.in | 8 ++++++++ package/libcofi/libcofi.mk | 17 +++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 package/libcofi/Config.in create mode 100644 package/libcofi/libcofi.mk diff --git a/package/Config.in b/package/Config.in index 11ff82d..a3530d7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -511,6 +511,7 @@ endmenu menu "Other" source "package/apr/Config.in" source "package/apr-util/Config.in" +source "package/libcofi/Config.in" source "package/classpath/Config.in" source "package/fftw/Config.in" source "package/libargtable2/Config.in" diff --git a/package/libcofi/Config.in b/package/libcofi/Config.in new file mode 100644 index 0000000..b900b69 --- /dev/null +++ b/package/libcofi/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBCOFI + bool "libcofi" + depends on BR2_arm + help + A replacement for memcpy and memset functionality for the Raspberry Pi + with the intention of gaining greater performance. + + https://github.com/simonjhall/copies-and-fills diff --git a/package/libcofi/libcofi.mk b/package/libcofi/libcofi.mk new file mode 100644 index 0000000..4872d1c --- /dev/null +++ b/package/libcofi/libcofi.mk @@ -0,0 +1,17 @@ +############################################################# +# +# libcofi +# +############################################################# +LIBCOFI_VERSION = 7313fbe12b0593034d0a1b606bf33c7cf4ababce +LIBCOFI_SITE = http://github.com/simonjhall/copies-and-fills/tarball/master + +define LIBCOFI_BUILD_CMDS + $(MAKE1) AS="$(TARGET_AS)" CC="$(TARGET_CC)" -C $(@D) libcofi_rpi.so +endef + +define LIBCOFI_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/libcofi_rpi.so* $(TARGET_DIR)/usr/lib +endef + +$(eval $(generic-package))