Skip to content

Commit d7e40ea

Browse files
committed
crypto: x86 - clean up poly1305-x86_64-cryptogams.S by 'make clean'
poly1305-x86_64-cryptogams.S is a generated file, so it should be cleaned up by 'make clean'. Assigning it to the variable 'targets' teaches Kbuild that it is a generated file. However, this line is not evaluated when cleaning because scripts/Makefile.clean does not include include/config/auto.conf. Remove the ifneq-conditional, so this file is correctly cleaned up. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Herbert Xu <[email protected]> Acked-by: Ingo Molnar <[email protected]>
1 parent 0aa78b1 commit d7e40ea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/x86/crypto/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ crct10dif-pclmul-y := crct10dif-pcl-asm_64.o crct10dif-pclmul_glue.o
8585

8686
obj-$(CONFIG_CRYPTO_POLY1305_X86_64) += poly1305-x86_64.o
8787
poly1305-x86_64-y := poly1305-x86_64-cryptogams.o poly1305_glue.o
88-
ifneq ($(CONFIG_CRYPTO_POLY1305_X86_64),)
8988
targets += poly1305-x86_64-cryptogams.S
90-
endif
9189

9290
obj-$(CONFIG_CRYPTO_NHPOLY1305_SSE2) += nhpoly1305-sse2.o
9391
nhpoly1305-sse2-y := nh-sse2-x86_64.o nhpoly1305-sse2-glue.o

0 commit comments

Comments
 (0)