|
@ -58,13 +58,13 @@ ifeq ($(ARCH),aarch64) |
|
|
else ifeq ($(ARCH),arm) |
|
|
else ifeq ($(ARCH),arm) |
|
|
OPENBLAS_TARGET:=ARMV5 |
|
|
OPENBLAS_TARGET:=ARMV5 |
|
|
else ifeq ($(ARCH),mips) |
|
|
else ifeq ($(ARCH),mips) |
|
|
ifeq ($(CPU_TYPE),24kc) |
|
|
|
|
|
|
|
|
ifneq ($(filter 24k% 74k%,$(CPU_TYPE)),) |
|
|
OPENBLAS_TARGET:=MIPS24K |
|
|
OPENBLAS_TARGET:=MIPS24K |
|
|
endif # CPU_TYPE == 24kc |
|
|
|
|
|
|
|
|
endif # CPU_TYPE == 24k* or 74k* |
|
|
else ifeq ($(ARCH),mipsel) |
|
|
else ifeq ($(ARCH),mipsel) |
|
|
ifeq ($(CPU_TYPE),24kc) |
|
|
|
|
|
|
|
|
ifneq ($(filter 24k% 74k%,$(CPU_TYPE)),) |
|
|
OPENBLAS_TARGET:=MIPS24K |
|
|
OPENBLAS_TARGET:=MIPS24K |
|
|
endif # CPU_TYPE == 24kc |
|
|
|
|
|
|
|
|
endif # CPU_TYPE == 24k* or 74k* |
|
|
else ifeq ($(ARCH),powerpc) |
|
|
else ifeq ($(ARCH),powerpc) |
|
|
OPENBLAS_TARGET:=PPC440 |
|
|
OPENBLAS_TARGET:=PPC440 |
|
|
endif |
|
|
endif |
|
@ -81,6 +81,7 @@ MAKE_FLAGS += \ |
|
|
HOSTCC=$(HOSTCC_NOCACHE) \
|
|
|
HOSTCC=$(HOSTCC_NOCACHE) \
|
|
|
CROSS_SUFFIX=$(TARGET_CROSS) \
|
|
|
CROSS_SUFFIX=$(TARGET_CROSS) \
|
|
|
BINARY=$(OPENBLAS_BINARY) \
|
|
|
BINARY=$(OPENBLAS_BINARY) \
|
|
|
|
|
|
MAKE_NB_JOBS=-1 \
|
|
|
NUM_THREADS=2 \
|
|
|
NUM_THREADS=2 \
|
|
|
PREFIX=/usr \
|
|
|
PREFIX=/usr \
|
|
|
COMMON_OPT="" \
|
|
|
COMMON_OPT="" \
|
|
|