diff options
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0051-enable-async-code-by-default.patch')
| -rw-r--r-- | recipes-kernel/cryptodev/sdk_patches/0051-enable-async-code-by-default.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0051-enable-async-code-by-default.patch b/recipes-kernel/cryptodev/sdk_patches/0051-enable-async-code-by-default.patch new file mode 100644 index 000000000..cfe4cd96e --- /dev/null +++ b/recipes-kernel/cryptodev/sdk_patches/0051-enable-async-code-by-default.patch | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | From 6b31215e77b89fd7bd4dcfb6e4e3a9ee53e7731d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 3 | Date: Tue, 25 Oct 2016 15:03:19 +0300 | ||
| 4 | Subject: [PATCH 051/104] enable async code by default | ||
| 5 | |||
| 6 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 7 | --- | ||
| 8 | Makefile | 2 +- | ||
| 9 | tests/Makefile | 1 + | ||
| 10 | 2 files changed, 2 insertions(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/Makefile b/Makefile | ||
| 13 | index 9871a8e..3934e1f 100644 | ||
| 14 | --- a/Makefile | ||
| 15 | +++ b/Makefile | ||
| 16 | @@ -3,7 +3,7 @@ | ||
| 17 | # disabled by default. To re-enable it uncomment the | ||
| 18 | # corresponding CFLAG. | ||
| 19 | # | ||
| 20 | -CRYPTODEV_CFLAGS ?= #-DENABLE_ASYNC | ||
| 21 | +CRYPTODEV_CFLAGS += -DENABLE_ASYNC | ||
| 22 | KBUILD_CFLAGS += -I$(src) $(CRYPTODEV_CFLAGS) | ||
| 23 | KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build | ||
| 24 | VERSION = 1.8 | ||
| 25 | diff --git a/tests/Makefile b/tests/Makefile | ||
| 26 | index 5e3111d..683f40b 100644 | ||
| 27 | --- a/tests/Makefile | ||
| 28 | +++ b/tests/Makefile | ||
| 29 | @@ -1,4 +1,5 @@ | ||
| 30 | KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build | ||
| 31 | +CRYPTODEV_CFLAGS += -DENABLE_ASYNC | ||
| 32 | KBUILD_CFLAGS += -I.. $(CRYPTODEV_CFLAGS) | ||
| 33 | CFLAGS += -I.. $(CRYPTODEV_CFLAGS) | ||
| 34 | |||
| 35 | -- | ||
| 36 | 2.10.2 | ||
| 37 | |||
