diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-30 18:40:42 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-31 17:09:49 +0200 |
commit | e2a280d28d32d2cf7eaa2b1cecefd079b24c0245 (patch) | |
tree | def167eb58458f3f766f66777d6924bbabfa56be /lib/raid6 | |
parent | kbuild: modpost: do not parse unnecessary rules for vmlinux modpost (diff) | |
download | linux-e2a280d28d32d2cf7eaa2b1cecefd079b24c0245.tar.xz linux-e2a280d28d32d2cf7eaa2b1cecefd079b24c0245.zip |
lib/raid6: fix unnecessary rebuild of vpermxor*.c
The following four files are every time rebuilt:
UNROLL lib/raid6/vpermxor1.c
UNROLL lib/raid6/vpermxor2.c
UNROLL lib/raid6/vpermxor4.c
UNROLL lib/raid6/vpermxor8.c
Fix the suffixes in the targets.
Fixes: 72ad21075df8 ("lib/raid6: refactor unroll rules with pattern rules")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'lib/raid6')
-rw-r--r-- | lib/raid6/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/raid6/Makefile b/lib/raid6/Makefile index 42695bc8d451..0083b5cc646c 100644 --- a/lib/raid6/Makefile +++ b/lib/raid6/Makefile @@ -66,7 +66,7 @@ CFLAGS_vpermxor1.o += $(altivec_flags) CFLAGS_vpermxor2.o += $(altivec_flags) CFLAGS_vpermxor4.o += $(altivec_flags) CFLAGS_vpermxor8.o += $(altivec_flags) -targets += vpermxor1.o vpermxor2.o vpermxor4.o vpermxor8.o +targets += vpermxor1.c vpermxor2.c vpermxor4.c vpermxor8.c $(obj)/vpermxor%.c: $(src)/vpermxor.uc $(src)/unroll.awk FORCE $(call if_changed,unroll) |