From patchwork Sat Jan 5 22:55:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 209704 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 4694F2C007C for ; Sun, 6 Jan 2013 09:55:44 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2870A1018F0; Sat, 5 Jan 2013 22:55:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RPRtxD4k201R; Sat, 5 Jan 2013 22:55:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 80E761018FD; Sat, 5 Jan 2013 22:55:20 +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 3E1388F753 for ; Sat, 5 Jan 2013 22:55:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 242048BB26 for ; Sat, 5 Jan 2013 22:55:27 +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 X2h9PTW86T9Q for ; Sat, 5 Jan 2013 22:55:26 +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 EF1B38B597 for ; Sat, 5 Jan 2013 22:55:25 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id u54so8899483wey.27 for ; Sat, 05 Jan 2013 14:55:24 -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=jopjZymJsYuagT6M9+4C0JP8n+JldDUs7wS96tKtroI=; b=VyrrS+uyfTRMvkl9SnGoMa3vKUVNJiL1g0CYSmk1HctY8mF2WCdZ22opj5XLM+CeDH nYgDsPPvoWbp2XPVmrUMHB9M9i08hvw8E7Y7/2ydOgaIfcLDNZqc+stiMPPnvGP0AkkI G1XUwuuME61jXplanUltdM15Zwc6yk9XLx4iOz0Ryu8GALoMvzMv95/QSHY5qJ7Nraiv 92szHlwoQHpTB1OE3N+OPvBsvwtOmZZRCAeU4H0PiaoT7jsUkAZuvRtDLfbgHHeJU1Je 2DbIiUBIigwV3NspgkXPb77NFwIjdPzI5SmXEFWXsuIUxb7p5kB73lVgE2AdAACcX+6H JeWw== X-Received: by 10.180.109.201 with SMTP id hu9mr3268567wib.32.1357426524262; Sat, 05 Jan 2013 14:55:24 -0800 (PST) Received: from localhost.localdomain (13-105-190-109.dsl.ovh.fr. [109.190.105.13]) by mx.google.com with ESMTPS id hu8sm5336199wib.6.2013.01.05.14.55.22 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 05 Jan 2013 14:55:23 -0800 (PST) From: Maxime Hadjinlian To: buildroot@busybox.net Date: Sat, 5 Jan 2013 23:55:14 +0100 Message-Id: <323f2db72c57aff2b31b2b7a5eb7f06d74775eda.1357426077.git.maxime.hadjinlian@gmail.com> 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 047af8d..9b50f4b 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))