diff --git a/libs/openblas/Makefile b/libs/openblas/Makefile index 1bc6d8177..c3228d14e 100644 --- a/libs/openblas/Makefile +++ b/libs/openblas/Makefile @@ -49,6 +49,9 @@ endef OPENBLAS_TARGET=$(call qstrip,$(CONFIG_OPENBLAS_TARGET_OVERRIDE)) ifeq ($(OPENBLAS_TARGET),) +# initialize to GENERIC as default +OPENBLAS_TARGET:=GENERIC + ifeq ($(ARCH),aarch64) OPENBLAS_TARGET:=ARMV8 else ifeq ($(ARCH),arm) @@ -59,14 +62,6 @@ else ifeq ($(ARCH),mipsel) OPENBLAS_TARGET:=MIPS24K else ifeq ($(ARCH),powerpc) OPENBLAS_TARGET:=PPC440 -else ifeq ($(ARCH),mips64) - OPENBLAS_TARGET:=I6400 -else ifeq ($(ARCH),mips64el) - OPENBLAS_TARGET:=I6400 -else ifeq ($(ARCH),i386) - OPENBLAS_TARGET:=GENERIC -else ifeq ($(ARCH),x86_64) - OPENBLAS_TARGET:=GENERIC endif endif # ifeq ($(OPENBLAS_TARGET),)