Commit 6aad6a76 by Logan Chien

Use lower case for internal Makefile variables

This commit switches several internal (implied) Makefile variables to lower cases. This follows the variable naming convention recommended by GNU Makefile Manual. Change-Id: I79819ef0cfd3828107dab665118f1511ef8a8337 Reviewed-on: https://swiftshader-review.googlesource.com/20848Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarLogan Chien <loganchien@google.com>
parent 1aae88c1
...@@ -31,17 +31,17 @@ endif ...@@ -31,17 +31,17 @@ endif
# Check whether SwiftShader requires full C++ 11 support. # Check whether SwiftShader requires full C++ 11 support.
ifdef SWIFTSHADER_USE_SUBZERO ifdef SWIFTSHADER_USE_SUBZERO
SWIFTSHADER_REQUIRES_CXX11 := true swiftshader_requires_cxx11 := true
endif endif
ifeq ($(SWIFTSHADER_LLVM_VERSION),7) ifeq ($(SWIFTSHADER_LLVM_VERSION),7)
SWIFTSHADER_REQUIRES_CXX11 := true swiftshader_requires_cxx11 := true
endif endif
ifeq ($(SWIFTSHADER_REQUIRES_CXX11),true) ifeq ($(swiftshader_requires_cxx11),true)
# Full C++ 11 support is only available from Marshmallow and up. # Full C++ 11 support is only available from Marshmallow and up.
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23 && echo PreMarshmallow),PreMarshmallow) ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23 && echo PreMarshmallow),PreMarshmallow)
SWIFTSHADER_UNSUPPORTED_BUILD := true swiftshader_unsupported_build := true
endif endif
endif endif
...@@ -49,17 +49,17 @@ endif ...@@ -49,17 +49,17 @@ endif
# Check whether $(TARGET_ARCH) is supported. # Check whether $(TARGET_ARCH) is supported.
ifeq ($(SWIFTSHADER_LLVM_VERSION),3) ifeq ($(SWIFTSHADER_LLVM_VERSION),3)
ifneq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64 arm)) ifneq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64 arm))
SWIFTSHADER_UNSUPPORTED_BUILD := true swiftshader_unsupported_build := true
endif endif
endif endif
ifeq ($(SWIFTSHADER_LLVM_VERSION),7) ifeq ($(SWIFTSHADER_LLVM_VERSION),7)
ifneq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64 arm arm64)) ifneq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64 arm arm64))
SWIFTSHADER_UNSUPPORTED_BUILD := true swiftshader_unsupported_build := true
endif endif
endif endif
ifndef SWIFTSHADER_UNSUPPORTED_BUILD ifndef swiftshader_unsupported_build
include $(call all-makefiles-under,$(LOCAL_PATH)) include $(call all-makefiles-under,$(LOCAL_PATH))
endif endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment