From patchwork Sun Jan 6 20:56:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 209802 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 193EB2C007C for ; Mon, 7 Jan 2013 07:56:54 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 48DA2A00BC; Sun, 6 Jan 2013 20:56:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gzVpoR4o7qTb; Sun, 6 Jan 2013 20:56:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 350C9A017F; Sun, 6 Jan 2013 20:56:42 +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 8C3D18F753 for ; Sun, 6 Jan 2013 20:56:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5CD388C0B0 for ; Sun, 6 Jan 2013 20:56:38 +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 Mubg3hRt7o+5 for ; Sun, 6 Jan 2013 20:56:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7A5768ADD0 for ; Sun, 6 Jan 2013 20:56:32 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id x10so9250628wey.5 for ; Sun, 06 Jan 2013 12:56:30 -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=SBJX17ZbUcrU3A9BoUB2t2TBLBbNJD9nhZUYGrOElEA=; b=VqdoMXudKC3N/lNJvFvS4NQjlmBzT5oYZtFh7yFlbaprRe26IqNOJ1LkSV/shyfTwK t0S1WVrS4RGKBiM8hmfERX0IiwRRvR0ndUm6MU/gCHLdpXciHsnOQ3cYUrJdWnPbErZn vp4/qq7Grfb8m+Txl6NrPt6qhA3jeHrVs4xws8EQWK/M0ThsnakZUJDow0mvAnJJjQZF +fI26akvZoafY2GG40jIm9zgI9KMsHIQDEhvJdYrtsXG31/CoIRxDTrF6H91xbG3wjGF WhnI5xoiGpvRrPWisOtI7SRRXeFmNGlRt/DcEIIoT/Z4/ZnBCGNpnd5p7mBxciYjD3AC n2tA== X-Received: by 10.194.79.34 with SMTP id g2mr92957991wjx.17.1357505790862; Sun, 06 Jan 2013 12:56:30 -0800 (PST) Received: from localhost.localdomain (13-105-190-109.dsl.ovh.fr. [109.190.105.13]) by mx.google.com with ESMTPS id h19sm9135594wiv.7.2013.01.06.12.56.29 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 06 Jan 2013 12:56:30 -0800 (PST) From: Maxime Hadjinlian To: buildroot@busybox.net Date: Sun, 6 Jan 2013 21:56:20 +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 | 20 ++++++++++++++++++++ 3 files changed, 29 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..e2ce702 --- /dev/null +++ b/package/libcofi/libcofi.mk @@ -0,0 +1,20 @@ +############################################################# +# +# libcofi +# +############################################################# + +LIBCOFI_VERSION = 7313fbe12b0593034d0a1b606bf33c7cf4ababce +LIBCOFI_SITE = http://github.com/simonjhall/copies-and-fills/tarball/master +LIBCOFI_LICENSE = LGPLv2.1 +LIBCOFI_LICENSE_FILES = README.md + +define LIBCOFI_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define LIBCOFI_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/libcofi_rpi.so $(TARGET_DIR)/usr/lib/libcofi_rpi.so +endef + +$(eval $(generic-package))