Skip to content

Commit 21ea28a

Browse files
Tdent48227herbertx
authored andcommitted
crypto: Makefile clean up
Changed Makefile to use <modules>-y instead of <modules>-objs. Signed-off-by: Tracey Dent <tdent48227@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent c848459 commit 21ea28a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎crypto/Makefile‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,32 @@
33
#
44

55
obj-$(CONFIG_CRYPTO) += crypto.o
6-
crypto-objs := api.o cipher.o compress.o
6+
crypto-y := api.o cipher.o compress.o
77

88
obj-$(CONFIG_CRYPTO_WORKQUEUE) += crypto_wq.o
99

1010
obj-$(CONFIG_CRYPTO_FIPS) += fips.o
1111

1212
crypto_algapi-$(CONFIG_PROC_FS) += proc.o
13-
crypto_algapi-objs := algapi.o scatterwalk.o $(crypto_algapi-y)
13+
crypto_algapi-y := algapi.o scatterwalk.o $(crypto_algapi-y)
1414
obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.o
1515

1616
obj-$(CONFIG_CRYPTO_AEAD2) += aead.o
1717

18-
crypto_blkcipher-objs := ablkcipher.o
19-
crypto_blkcipher-objs += blkcipher.o
18+
crypto_blkcipher-y := ablkcipher.o
19+
crypto_blkcipher-y += blkcipher.o
2020
obj-$(CONFIG_CRYPTO_BLKCIPHER2) += crypto_blkcipher.o
2121
obj-$(CONFIG_CRYPTO_BLKCIPHER2) += chainiv.o
2222
obj-$(CONFIG_CRYPTO_BLKCIPHER2) += eseqiv.o
2323
obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o
2424

25-
crypto_hash-objs += ahash.o
26-
crypto_hash-objs += shash.o
25+
crypto_hash-y += ahash.o
26+
crypto_hash-y += shash.o
2727
obj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o
2828

2929
obj-$(CONFIG_CRYPTO_PCOMP2) += pcompress.o
3030

31-
cryptomgr-objs := algboss.o testmgr.o
31+
cryptomgr-y := algboss.o testmgr.o
3232

3333
obj-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o
3434
obj-$(CONFIG_CRYPTO_HMAC) += hmac.o

0 commit comments

Comments
 (0)