1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

cryptodev: update to 1.8

Drop 0001-ioctl.c-Fix-build-on-3.19.patch and
0002-Fix-tests-Makefile-usage-of-LDLIBS-vs.-LDFLAGS.patch, the code
has been fixed upstream.

(From OE-Core rev: 762b3111f3124ee75404835da751fb95b8466fd4)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2015-12-16 16:02:45 +02:00
committed by Richard Purdie
parent 9da9308781
commit edde9afcf9
6 changed files with 5 additions and 65 deletions
@@ -1,29 +0,0 @@
From 7d71124991030f99965e6e6aaed421115f185adb Mon Sep 17 00:00:00 2001
From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Date: Mon, 9 Feb 2015 13:51:56 +0100
Subject: [PATCH] ioctl.c: Fix build on 3.19
get_unused_fd() MACRO has been removed on kernel 3.19. Replace by the
actual output of the macro.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
---
ioctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ioctl.c b/ioctl.c
index f26cf93..cf8cc17 100644
--- a/ioctl.c
+++ b/ioctl.c
@@ -529,7 +529,7 @@ static int
clonefd(struct file *filp)
{
int ret;
- ret = get_unused_fd();
+ ret = get_unused_fd_flags(0);
if (ret >= 0) {
get_file(filp);
fd_install(ret, filp);
--
2.1.4
@@ -1,29 +0,0 @@
From 47ff1eb9bb4f872c1d731b93d334ee5865bf3439 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Sun, 6 Apr 2014 22:16:30 -0400
Subject: [PATCH] Fix tests Makefile usage of LDLIBS vs. LDFLAGS
Libraries must come after objects, as link order matters, especially
when using linker flags like -Wl,--as-needed.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Upstream-Status: Pending
---
tests/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile b/tests/Makefile
index cd202af..67c3c83 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -39,5 +39,5 @@ testprogs: $(hostprogs)
clean:
rm -f *.o *~ $(hostprogs)
-${comp_progs}: LDFLAGS += -lssl -lcrypto
+${comp_progs}: LDLIBS += -lssl -lcrypto
${comp_progs}: %: %.o openssl_wrapper.o
--
1.9.1