aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2014-01-31 02:33:05 +0100
committerBruce Ashfield <bruce.ashfield@windriver.com>2016-08-30 12:11:56 -0400
commit4e6566b38454bfb6534d2e1d9f8f37eeb9129938 (patch)
tree4f609e9644fdd8009dc49dee8624f467884d0824
parentbc9b618e2b24fbc0b3e01eb2aef87e70734bbf47 (diff)
downloadlinux-yocto-4e6566b38454bfb6534d2e1d9f8f37eeb9129938.tar.gz
linux-yocto-4e6566b38454bfb6534d2e1d9f8f37eeb9129938.tar.bz2
linux-yocto-4e6566b38454bfb6534d2e1d9f8f37eeb9129938.zip
cryptodev: allow
Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r--drivers/staging/crypto/cryptodev/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/staging/crypto/cryptodev/Makefile b/drivers/staging/crypto/cryptodev/Makefile
index 302391121308..489c5f310000 100644
--- a/drivers/staging/crypto/cryptodev/Makefile
+++ b/drivers/staging/crypto/cryptodev/Makefile
@@ -34,8 +34,16 @@ clean:
check:
CFLAGS=$(CRYPTODEV_CFLAGS) KERNEL_DIR=$(KERNEL_DIR) make -C tests check
+CPOPTS =
+ifneq (${SHOW_TYPES},)
+CPOPTS += --show-types
+endif
+ifneq (${IGNORE_TYPES},)
+CPOPTS += --ignore ${IGNORE_TYPES}
+endif
+
checkpatch:
- $(KERNEL_DIR)/scripts/checkpatch.pl --file *.c *.h
+ $(KERNEL_DIR)/scripts/checkpatch.pl ${CPOPTS} --file *.c *.h
FILEBASE = cryptodev-linux-$(VERSION)
TMPDIR ?= /tmp