am eec11d97
: Merge "Decouple platform compiler and NDK library versioning."
* commit 'eec11d9727ab0e6bc843f059d5f2921ada2e8e9a': Decouple platform compiler and NDK library versioning.
This commit is contained in:
@@ -60,9 +60,9 @@ ifdef LOCAL_SDK_VERSION
|
|||||||
my_ndk_stl_cppflags := -std=c++11
|
my_ndk_stl_cppflags := -std=c++11
|
||||||
else
|
else
|
||||||
# LOCAL_NDK_STL_VARIANT is gnustl_static
|
# LOCAL_NDK_STL_VARIANT is gnustl_static
|
||||||
my_ndk_stl_include_path := $(my_ndk_source_root)/cxx-stl/gnu-libstdc++/$($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_GCC_VERSION)/libs/$(TARGET_$(LOCAL_2ND_ARCH_VAR_PREFIX)CPU_ABI)/include \
|
my_ndk_stl_include_path := $(my_ndk_source_root)/cxx-stl/gnu-libstdc++/$($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_NDK_GCC_VERSION)/libs/$(TARGET_$(LOCAL_2ND_ARCH_VAR_PREFIX)CPU_ABI)/include \
|
||||||
$(my_ndk_source_root)/cxx-stl/gnu-libstdc++/$($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_GCC_VERSION)/include
|
$(my_ndk_source_root)/cxx-stl/gnu-libstdc++/$($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_NDK_GCC_VERSION)/include
|
||||||
my_ndk_stl_static_lib := $(my_ndk_source_root)/cxx-stl/gnu-libstdc++/$($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_GCC_VERSION)/libs/$(TARGET_$(LOCAL_2ND_ARCH_VAR_PREFIX)CPU_ABI)/libgnustl_static.a
|
my_ndk_stl_static_lib := $(my_ndk_source_root)/cxx-stl/gnu-libstdc++/$($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_NDK_GCC_VERSION)/libs/$(TARGET_$(LOCAL_2ND_ARCH_VAR_PREFIX)CPU_ABI)/libgnustl_static.a
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@@ -34,6 +34,9 @@ ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT)),)
|
|||||||
TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT := armv5te
|
TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT := armv5te
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Decouple NDK library selection with platform compiler version
|
||||||
|
$(combo_2nd_arch_prefix)TARGET_NDK_GCC_VERSION := 4.8
|
||||||
|
|
||||||
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
||||||
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := 4.8
|
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := 4.8
|
||||||
else
|
else
|
||||||
|
@@ -34,6 +34,9 @@ ifeq ($(strip $(TARGET_ARCH_VARIANT)),)
|
|||||||
TARGET_ARCH_VARIANT := armv8
|
TARGET_ARCH_VARIANT := armv8
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Decouple NDK library selection with platform compiler version
|
||||||
|
TARGET_NDK_GCC_VERSION := 4.8
|
||||||
|
|
||||||
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
||||||
TARGET_GCC_VERSION := 4.8
|
TARGET_GCC_VERSION := 4.8
|
||||||
else
|
else
|
||||||
|
@@ -34,6 +34,9 @@ ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT)),)
|
|||||||
TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT := mips32r2-fp
|
TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT := mips32r2-fp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Decouple NDK library selection with platform compiler version
|
||||||
|
$(combo_2nd_arch_prefix)TARGET_NDK_GCC_VERSION := 4.8
|
||||||
|
|
||||||
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
||||||
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := 4.8
|
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := 4.8
|
||||||
else
|
else
|
||||||
|
@@ -34,6 +34,9 @@ ifeq ($(strip $(TARGET_ARCH_VARIANT)),)
|
|||||||
TARGET_ARCH_VARIANT := mips64r2
|
TARGET_ARCH_VARIANT := mips64r2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Decouple NDK library selection with platform compiler version
|
||||||
|
TARGET_NDK_GCC_VERSION := 4.8
|
||||||
|
|
||||||
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
||||||
TARGET_GCC_VERSION := 4.8
|
TARGET_GCC_VERSION := 4.8
|
||||||
else
|
else
|
||||||
|
@@ -22,6 +22,9 @@ ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT)),)
|
|||||||
TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT := x86
|
TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT := x86
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Decouple NDK library selection with platform compiler version
|
||||||
|
$(combo_2nd_arch_prefix)TARGET_NDK_GCC_VERSION := 4.8
|
||||||
|
|
||||||
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
||||||
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := 4.8
|
$(combo_2nd_arch_prefix)TARGET_GCC_VERSION := 4.8
|
||||||
else
|
else
|
||||||
|
@@ -22,6 +22,9 @@ ifeq ($(strip $(TARGET_ARCH_VARIANT)),)
|
|||||||
TARGET_ARCH_VARIANT := x86_64
|
TARGET_ARCH_VARIANT := x86_64
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Decouple NDK library selection with platform compiler version
|
||||||
|
TARGET_NDK_GCC_VERSION := 4.8
|
||||||
|
|
||||||
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
|
||||||
TARGET_GCC_VERSION := 4.8
|
TARGET_GCC_VERSION := 4.8
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user