aboutsummaryrefslogtreecommitdiffstats
path: root/package/libcofi
diff options
context:
space:
mode:
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>2013-01-06 10:56:20 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-06 22:56:15 +0100
commit8bc34206c2ed03f24db1ed196a2fb7c5015acfb8 (patch)
tree8886ab43635e6f9b1356b423b5a7c47decc05f09 /package/libcofi
parent94d33410b2ca2b7cf3ce2600d308780326814e20 (diff)
downloadbuildroot-novena-8bc34206c2ed03f24db1ed196a2fb7c5015acfb8.tar.gz
buildroot-novena-8bc34206c2ed03f24db1ed196a2fb7c5015acfb8.zip
libcofi: new package
replacement for memcpy and memset functionality This package was originally found at : https://github.com/huceke/buildroot-rbp By gimli <ebsi4711@gmail.com> [Peter: wrap help text] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libcofi')
-rw-r--r--package/libcofi/Config.in8
-rw-r--r--package/libcofi/libcofi.mk20
2 files changed, 28 insertions, 0 deletions
diff --git a/package/libcofi/Config.in b/package/libcofi/Config.in
new file mode 100644
index 000000000..e9914d6e0
--- /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 000000000..e2ce70247
--- /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))