X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=17e61773d19615b6289e085881ddb927ac44c9c9;hp=c73b94f390a177bd1dd0b65c9d43f39cb5b42e32;hb=7f9ebf8e86e90ea1eb68388f1be12503a3f31e56;hpb=4e7da9be3dcb2d58d59da7b3d421a1ff20f040a9 diff --git a/src/Makefile b/src/Makefile index c73b94f3..17e61773 100644 --- a/src/Makefile +++ b/src/Makefile @@ -126,12 +126,12 @@ ifeq ($(ARCH),x86-32-old) endif #arm section -ifeq ($(ARCH),arm-32) - arch = arm-32 +ifeq ($(ARCH),armv7) + arch = armv7 os = any bits = 32 prefetch = yes - bsfq = no + bsfq = yes popcnt = no endif @@ -276,7 +276,7 @@ ifeq ($(optimize),yes) endif endif - ifeq ($(arch),arm-32) + ifeq ($(arch),armv7) CXXFLAGS += -fno-gcse endif endif @@ -315,7 +315,7 @@ endif ### 3.7 prefetch ifeq ($(prefetch),yes) - ifneq ($(arch),arm-32) + ifneq ($(arch),armv7) CXXFLAGS += -msse DEPENDFLAGS += -msse endif @@ -376,7 +376,7 @@ help: @echo "osx-ppc-32 > PPC-Mac OS X 32 bit" @echo "osx-x86-64 > x86-Mac OS X 64 bit" @echo "osx-x86-32 > x86-Mac OS X 32 bit" - @echo "arm-32 > ARM 32 bit" + @echo "armv7 > ARMv7 32 bit" @echo "general-64 > unspecified 64-bit" @echo "general-32 > unspecified 32-bit" @echo "" @@ -466,7 +466,7 @@ config-sanity: @test "$(debug)" = "yes" || test "$(debug)" = "no" @test "$(optimize)" = "yes" || test "$(optimize)" = "no" @test "$(arch)" = "any" || test "$(arch)" = "x86_64" || test "$(arch)" = "i386" || \ - test "$(arch)" = "ppc64" || test "$(arch)" = "ppc" || test "$(arch)" = "arm-32" + test "$(arch)" = "ppc64" || test "$(arch)" = "ppc" || test "$(arch)" = "armv7" @test "$(os)" = "any" || test "$(os)" = "osx" @test "$(bits)" = "32" || test "$(bits)" = "64" @test "$(prefetch)" = "yes" || test "$(prefetch)" = "no"