diff options
| author | Chunrong Guo <chunrong.guo@nxp.com> | 2017-07-28 15:44:09 +0800 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-08-07 11:42:29 -0300 |
| commit | ece24e8f9a042561f188d8f09c60b146dd081c94 (patch) | |
| tree | 1f9b832c30fa2740f16363187493814aca21a3c2 /recipes-kernel/cryptodev/sdk_patches/0077-the-C-standard-used-by-cryptodev-is-C90-with-GNU-ext.patch | |
| parent | d586bfdde75ab6cae4f2dcdb63c068e07f4c188e (diff) | |
| download | meta-freescale-ece24e8f9a042561f188d8f09c60b146dd081c94.tar.gz | |
cryptodev-qoriq: update to v1.9
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0077-the-C-standard-used-by-cryptodev-is-C90-with-GNU-ext.patch')
| -rw-r--r-- | recipes-kernel/cryptodev/sdk_patches/0077-the-C-standard-used-by-cryptodev-is-C90-with-GNU-ext.patch | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0077-the-C-standard-used-by-cryptodev-is-C90-with-GNU-ext.patch b/recipes-kernel/cryptodev/sdk_patches/0077-the-C-standard-used-by-cryptodev-is-C90-with-GNU-ext.patch deleted file mode 100644 index b4ab34ce9..000000000 --- a/recipes-kernel/cryptodev/sdk_patches/0077-the-C-standard-used-by-cryptodev-is-C90-with-GNU-ext.patch +++ /dev/null | |||
| @@ -1,66 +0,0 @@ | |||
| 1 | From 76de6db1bc69b2239d8fb91fd65b74610cb8e22f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 3 | Date: Thu, 27 Oct 2016 16:41:10 +0300 | ||
| 4 | Subject: [PATCH 077/104] the C standard used by cryptodev is C90 with GNU | ||
| 5 | extensions | ||
| 6 | |||
| 7 | This avoids some problems with gcc>=5.0 which chaged the default to C11. | ||
| 8 | The choice for gnu90 is based on the C standard used by Linux kernel which | ||
| 9 | is gnu90 as well. | ||
| 10 | |||
| 11 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 12 | --- | ||
| 13 | Makefile | 6 +++--- | ||
| 14 | lib/Makefile | 2 +- | ||
| 15 | tests/Makefile | 2 +- | ||
| 16 | 3 files changed, 5 insertions(+), 5 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/Makefile b/Makefile | ||
| 19 | index 90e86d9..80439f6 100644 | ||
| 20 | --- a/Makefile | ||
| 21 | +++ b/Makefile | ||
| 22 | @@ -3,7 +3,7 @@ | ||
| 23 | # disabled by default. To re-enable it uncomment the | ||
| 24 | # corresponding CFLAG. | ||
| 25 | # | ||
| 26 | -CRYPTODEV_CFLAGS += -DENABLE_ASYNC | ||
| 27 | +CRYPTODEV_CFLAGS += -DENABLE_ASYNC -std=gnu90 | ||
| 28 | KBUILD_CFLAGS += -I$(src) $(CRYPTODEV_CFLAGS) | ||
| 29 | KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build | ||
| 30 | VERSION = 1.8 | ||
| 31 | @@ -38,10 +38,10 @@ modules_install: | ||
| 32 | clean: | ||
| 33 | $(MAKE) $(KERNEL_MAKE_OPTS) clean | ||
| 34 | rm -f $(hostprogs) *~ | ||
| 35 | - CFLAGS=$(CRYPTODEV_CFLAGS) KERNEL_DIR=$(KERNEL_DIR) $(MAKE) -C tests clean | ||
| 36 | + CFLAGS="$(CRYPTODEV_CFLAGS)" KERNEL_DIR="$(KERNEL_DIR)" $(MAKE) -C tests clean | ||
| 37 | |||
| 38 | check: | ||
| 39 | - CFLAGS=$(CRYPTODEV_CFLAGS) KERNEL_DIR=$(KERNEL_DIR) $(MAKE) -C tests check | ||
| 40 | + CFLAGS="$(CRYPTODEV_CFLAGS)" KERNEL_DIR="$(KERNEL_DIR)" $(MAKE) -C tests check | ||
| 41 | |||
| 42 | testprogs: | ||
| 43 | KERNEL_DIR=$(KERNEL_DIR) $(MAKE) -C tests all | ||
| 44 | diff --git a/lib/Makefile b/lib/Makefile | ||
| 45 | index 3bedc34..0044613 100644 | ||
| 46 | --- a/lib/Makefile | ||
| 47 | +++ b/lib/Makefile | ||
| 48 | @@ -1,4 +1,4 @@ | ||
| 49 | -CFLAGS=-g -O2 -Wall | ||
| 50 | +CFLAGS=-g -O2 -Wall -std=gnu90 | ||
| 51 | |||
| 52 | all: benchmark | ||
| 53 | |||
| 54 | diff --git a/tests/Makefile b/tests/Makefile | ||
| 55 | index e7a60cb..23d67f9 100644 | ||
| 56 | --- a/tests/Makefile | ||
| 57 | +++ b/tests/Makefile | ||
| 58 | @@ -1,4 +1,4 @@ | ||
| 59 | -CRYPTODEV_CFLAGS += -DENABLE_ASYNC -Wall -Werror | ||
| 60 | +CRYPTODEV_CFLAGS += -DENABLE_ASYNC -std=gnu90 -Wall -Werror | ||
| 61 | CFLAGS += -I.. $(CRYPTODEV_CFLAGS) | ||
| 62 | |||
| 63 | comp_progs := cipher_comp hash_comp hmac_comp | ||
| 64 | -- | ||
| 65 | 2.10.2 | ||
| 66 | |||
