diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2012-10-23 12:06:01 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2012-10-23 12:06:01 +0800 |
commit | 06b63baedc769863f87ac0b789ac320b3cb0dc2a (patch) | |
tree | 6f51c4a6b9bf6e4ffb724e3f4440c693bc33aff3 /core/config.mk | |
parent | d883749e600a34b5eb4db542d24946b25aa5c9fb (diff) | |
download | build-06b63baedc769863f87ac0b789ac320b3cb0dc2a.zip build-06b63baedc769863f87ac0b789ac320b3cb0dc2a.tar.gz build-06b63baedc769863f87ac0b789ac320b3cb0dc2a.tar.bz2 |
Add TARGET_GCC_VERSION
Default to 4.6, but can overwritten to something else in
prebuilts/gcc/$os/$arch/$arch-linux-android*-$ver
Change-Id: I16f99d642b8ff8e831d392261a0c536041107051
Diffstat (limited to 'core/config.mk')
-rw-r--r-- | core/config.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/config.mk b/core/config.mk index a894444..06c9074 100644 --- a/core/config.mk +++ b/core/config.mk @@ -225,6 +225,11 @@ ifeq ($(TARGET_CPU_ABI),) endif TARGET_CPU_ABI2 := $(strip $(TARGET_CPU_ABI2)) +# default target GCC version +ifeq ($(strip $(TARGET_GCC_VERSION)),) +TARGET_GCC_VERSION := 4.6 +endif + # $(1): os/arch define select-android-config-h system/core/include/arch/$(1)/AndroidConfig.h |