Commit 42e37c2e authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Herbert Xu
Browse files

crypto: ux500 - use ccflags-y instead of CFLAGS_<basename>.o



Instead of adding CFLAGS_<basename>.o to every file, let's use
ccflags-y, which is effective for all C files in the directory.

No behavior change.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 7138377c
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -3,11 +3,7 @@
# * Author: shujuan.chen@stericsson.com for ST-Ericsson.
# * License terms: GNU General Public License (GPL) version 2  */

ifdef CONFIG_CRYPTO_DEV_UX500_DEBUG
CFLAGS_cryp_core.o := -DDEBUG
CFLAGS_cryp.o := -DDEBUG
CFLAGS_cryp_irq.o := -DDEBUG
endif
ccflags-$(CONFIG_CRYPTO_DEV_UX500_DEBUG) += -DDEBUG

obj-$(CONFIG_CRYPTO_DEV_UX500_CRYP) += ux500_cryp.o
ux500_cryp-objs :=  cryp.o cryp_irq.o cryp_core.o