diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2018-11-05 19:14:41 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-11-06 12:12:44 -0500 |
commit | 313a06e636808387822af24c507cba92703568b1 (patch) | |
tree | 09f916e9cfae5d5eff933204a8f2aeb3a2d36c12 | |
parent | 4920b1f7676d55dcebdf55f2b0431a328acb4abe (diff) |
lib/raid6: Fix arm64 test build
The lib/raid6/test fails to build the neon objects
on arm64 because the correct machine type is 'aarch64'.
Once this is correctly enabled, the neon recovery objects
need to be added to the build.
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r-- | lib/raid6/test/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/raid6/test/Makefile b/lib/raid6/test/Makefile index 5d73f5cb4d8a..79777645cac9 100644 --- a/lib/raid6/test/Makefile +++ b/lib/raid6/test/Makefile | |||
@@ -27,7 +27,7 @@ ifeq ($(ARCH),arm) | |||
27 | CFLAGS += -I../../../arch/arm/include -mfpu=neon | 27 | CFLAGS += -I../../../arch/arm/include -mfpu=neon |
28 | HAS_NEON = yes | 28 | HAS_NEON = yes |
29 | endif | 29 | endif |
30 | ifeq ($(ARCH),arm64) | 30 | ifeq ($(ARCH),aarch64) |
31 | CFLAGS += -I../../../arch/arm64/include | 31 | CFLAGS += -I../../../arch/arm64/include |
32 | HAS_NEON = yes | 32 | HAS_NEON = yes |
33 | endif | 33 | endif |
@@ -41,7 +41,7 @@ ifeq ($(IS_X86),yes) | |||
41 | gcc -c -x assembler - >&/dev/null && \ | 41 | gcc -c -x assembler - >&/dev/null && \ |
42 | rm ./-.o && echo -DCONFIG_AS_AVX512=1) | 42 | rm ./-.o && echo -DCONFIG_AS_AVX512=1) |
43 | else ifeq ($(HAS_NEON),yes) | 43 | else ifeq ($(HAS_NEON),yes) |
44 | OBJS += neon.o neon1.o neon2.o neon4.o neon8.o | 44 | OBJS += neon.o neon1.o neon2.o neon4.o neon8.o recov_neon.o recov_neon_inner.o |
45 | CFLAGS += -DCONFIG_KERNEL_MODE_NEON=1 | 45 | CFLAGS += -DCONFIG_KERNEL_MODE_NEON=1 |
46 | else | 46 | else |
47 | HAS_ALTIVEC := $(shell printf '\#include <altivec.h>\nvector int a;\n' |\ | 47 | HAS_ALTIVEC := $(shell printf '\#include <altivec.h>\nvector int a;\n' |\ |