From: Alexandru Ardelean Date: Sun, 26 Sep 2021 09:28:06 +0000 (+0300) Subject: libs: openblas: patch openblas to handle mips{64}el arch names X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4c5a05cd634315c6470b36d197c4db12276aeb03;p=feed%2Fpackages.git libs: openblas: patch openblas to handle mips{64}el arch names Related to PR: https://github.com/xianyi/OpenBLAS/pull/3387 Signed-off-by: Alexandru Ardelean --- diff --git a/libs/openblas/patches/001-adjust-mips-el-arch.patch b/libs/openblas/patches/001-adjust-mips-el-arch.patch new file mode 100644 index 0000000000..62e736ea3b --- /dev/null +++ b/libs/openblas/patches/001-adjust-mips-el-arch.patch @@ -0,0 +1,13 @@ +--- a/Makefile.system ++++ b/Makefile.system +@@ -33,6 +33,10 @@ else ifeq ($(ARCH), armv7) + override ARCH=arm + else ifeq ($(ARCH), aarch64) + override ARCH=arm64 ++else ifeq ($(ARCH), mipsel) ++override ARCH=mips ++else ifeq ($(ARCH), mips64el) ++override ARCH=mips64 + else ifeq ($(ARCH), zarch) + override ARCH=zarch + endif