arm64: add -Werror in Makefile for lib and crypto
Bo Yan [Mon, 10 Nov 2014 17:11:54 +0000 (09:11 -0800)]
bug 200050443

Change-Id: Iac9dcb38be2a64d3520530562ae321d5c99563ab
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/600294
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

arch/arm64/crypto/Makefile
arch/arm64/lib/Makefile

index a3f935f..c4c7993 100644 (file)
@@ -8,6 +8,8 @@
 # published by the Free Software Foundation.
 #
 
+subdir-ccflags-y       += -Werror
+
 obj-$(CONFIG_CRYPTO_SHA1_ARM64_CE) += sha1-ce.o
 sha1-ce-y := sha1-ce-glue.o sha1-ce-core.o
 
index fb224a8..6cf0f6c 100644 (file)
@@ -1,3 +1,4 @@
+subdir-ccflags-y       += -Werror
 lib-y          := bitops.o delay.o clear_user.o                        \
                   copy_from_user.o copy_to_user.o copy_in_user.o       \
                   copy_page.o clear_page.o                             \