eb33108858
When aspeed-acry is enabled as a module it doesn't get built at all. Fix this by adding it to obj-m. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Reviewed-by: Neal Liu <neal_liu@aspeedtech.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
12 lines
402 B
Makefile
12 lines
402 B
Makefile
hace-hash-$(CONFIG_CRYPTO_DEV_ASPEED_HACE_HASH) := aspeed-hace-hash.o
|
|
hace-crypto-$(CONFIG_CRYPTO_DEV_ASPEED_HACE_CRYPTO) := aspeed-hace-crypto.o
|
|
|
|
obj-$(CONFIG_CRYPTO_DEV_ASPEED) += aspeed_crypto.o
|
|
aspeed_crypto-objs := aspeed-hace.o \
|
|
$(hace-hash-y) \
|
|
$(hace-crypto-y)
|
|
|
|
aspeed_acry-$(CONFIG_CRYPTO_DEV_ASPEED_ACRY) += aspeed-acry.o
|
|
|
|
obj-$(CONFIG_CRYPTO_DEV_ASPEED) += $(aspeed_acry-y)
|