Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
Don't inline crc64 for gcc-5 compatability
This patch is backported from Debian and it fixes the following error:
bcache.c:125:9: warning: 'crc_table' is static but used in inline
function 'crc64' which is not static
...
make-bcache.c:277: undefined reference to `crc64'
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
From: David Mohr <david@mcbf.net>
Date: Tue, 26 May 2015 20:34:31 -0600
Subject: Don't inline crc64 for gcc-5 compatability
Forwarded: http://article.gmane.org/gmane.linux.kernel.bcache.devel/2919
By James Cowgill, see Debian bug #777798
---
bcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bcache.c b/bcache.c
index 8f37445..8b4b986 100644
--- a/bcache.c
+++ b/bcache.c
@@ -115,7 +115,7 @@ static const uint64_t crc_table[256] = {
0x9AFCE626CE85B507ULL
};
-inline uint64_t crc64(const void *_data, size_t len)
+uint64_t crc64(const void *_data, size_t len)
{
uint64_t crc = 0xFFFFFFFFFFFFFFFFULL;
const unsigned char *data = _data;

View File

@@ -0,0 +1,21 @@
config BR2_PACKAGE_BCACHE_TOOLS
bool "bcache tools"
depends on BR2_PACKAGE_HAS_UDEV
depends on BR2_USE_WCHAR # util-linux
depends on BR2_USE_MMU # util-linux (libblkid)
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
help
Bcache is a Linux kernel block layer cache. It allows one or
more fast disk drives such as flash-based solid state drives (SSDs)
to act as a cache for one or more slower hard disk drives.
http://bcache.evilpiepirate.org/
This is the user space bcache tools, required to setup the linux
bcache feature of the Linux kernel.
comment "bcache-tools needs udev /dev management and a toolchain w/ wchar"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_HAS_UDEV || !BR2_USE_WCHAR

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 d56923936f37287efc57a46315679102ef2c86cd0be5874590320acd48c1201c bcache-tools-v1.0.8.tar.gz

View File

@@ -0,0 +1,33 @@
################################################################################
#
# bcache-tools
#
################################################################################
BCACHE_TOOLS_VERSION = v1.0.8
BCACHE_TOOLS_SITE = $(call github,g2p,bcache-tools,$(BCACHE_TOOLS_VERSION))
BCACHE_TOOLS_LICENSE = GPLv2
BCACHE_TOOLS_LICENSE_FILES = COPYING
BCACHE_TOOLS_DEPENDENCIES = host-pkgconf util-linux
# We pass $(TARGET_CONFIGURE_OPTS) as environment variable to allow
# the bcache-tools Makefile to alter CFLAGS
define BCACHE_TOOLS_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
# The bcache-tools Makefile expects the man8 directory to exist
# expects the /lib/udev/rules.d directory to exist.
define BCACHE_TOOLS_CREATE_MISSING_DIRS
$(INSTALL) -m 0755 -d $(TARGET_DIR)/usr/share/man/man8
$(INSTALL) -m 0755 -d $(TARGET_DIR)/lib/udev/rules.d
endef
BCACHE_TOOLS_PRE_INSTALL_TARGET_HOOKS += BCACHE_TOOLS_CREATE_MISSING_DIRS
define BCACHE_TOOLS_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))