Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
build
Commits
cb8f6630
Commit
cb8f6630
authored
13 years ago
by
Jean-Baptiste Queru
Browse files
Options
Download
Email Patches
Plain Diff
Revert "Point arm toolchain to the new gcc-4.6 one."
This reverts commit
1f87795e
.
parent
dfd93fc2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
11 deletions
+9
-11
core/combo/TARGET_linux-arm.mk
core/combo/TARGET_linux-arm.mk
+1
-1
core/dumpvar.mk
core/dumpvar.mk
+2
-3
envsetup.sh
envsetup.sh
+3
-4
tools/adbs
tools/adbs
+3
-3
No files found.
core/combo/TARGET_linux-arm.mk
View file @
cb8f6630
...
...
@@ -43,7 +43,7 @@ include $(TARGET_ARCH_SPECIFIC_MAKEFILE)
# You can set TARGET_TOOLS_PREFIX to get gcc from somewhere else
ifeq
($(strip $(TARGET_TOOLS_PREFIX)),)
TARGET_TOOLCHAIN_ROOT
:=
prebuilt
s/gcc
/
$(HOST_PREBUILT_TAG)
/
arm
/arm-linux-androideabi-4.
6
TARGET_TOOLCHAIN_ROOT
:=
prebuilt/
$(HOST_PREBUILT_TAG)
/
toolchain
/arm-linux-androideabi-4.
4.x
TARGET_TOOLS_PREFIX
:=
$(TARGET_TOOLCHAIN_ROOT)
/bin/arm-linux-androideabi-
endif
...
...
This diff is collapsed.
Click to expand it.
core/dumpvar.mk
View file @
cb8f6630
...
...
@@ -10,9 +10,9 @@ ABP:=$(PWD)/$(HOST_OUT_EXECUTABLES)
endif
# Add the ARM toolchain bin dir if it actually exists
ifneq
($(wildcard $(PWD)/prebuilt
s/gcc
/$(HOST_PREBUILT_TAG)/
arm
/arm-linux-androideabi-4.
6
/bin),)
ifneq
($(wildcard $(PWD)/prebuilt/$(HOST_PREBUILT_TAG)/
toolchain
/arm-linux-androideabi-4.
4.x
/bin),)
# this should be copied to HOST_OUT_EXECUTABLES instead
ABP
:=
$(ABP)
:
$(PWD)
/prebuilt
s/gcc
/
$(HOST_PREBUILT_TAG)
/
arm
/arm-linux-androideabi-4.
6
/bin
ABP
:=
$(ABP)
:
$(PWD)
/prebuilt/
$(HOST_PREBUILT_TAG)
/
toolchain
/arm-linux-androideabi-4.
4.x
/bin
endif
# Add the x86 toolchain bin dir if it actually exists
...
...
@@ -22,7 +22,6 @@ ifneq ($(wildcard $(PWD)/prebuilts/gcc/$(HOST_PREBUILT_TAG)/x86/i686-android-lin
endif
ANDROID_BUILD_PATHS
:=
$(ABP)
ANDROID_PREBUILTS
:=
prebuilt/
$(HOST_PREBUILT_TAG)
ANDROID_GCC_PREBUILTS
:=
prebuilts/gcc/
$(HOST_PREBUILT_TAG)
# The "dumpvar" stuff lets you say something like
#
...
...
This diff is collapsed.
Click to expand it.
envsetup.sh
View file @
cb8f6630
...
...
@@ -112,13 +112,12 @@ function setpaths()
# and in with the new
CODE_REVIEWS
=
prebuiltdir
=
$(
getprebuilt
)
gccprebuiltdir
=
$(
get_abs_build_var ANDROID_GCC_PREBUILTS
)
# The gcc toolchain does not exists for windows/cygwin. In this case, do not reference it.
export
ANDROID_EABI_TOOLCHAIN
=
toolchaindir
=
arm
/arm-linux-androideabi-4.
6
/bin
if
[
-d
"
$
gcc
prebuiltdir
/
$toolchaindir
"
]
;
then
export
ANDROID_EABI_TOOLCHAIN
=
$
gcc
prebuiltdir
/
$toolchaindir
toolchaindir
=
toolchain
/arm-linux-androideabi-4.
4.x
/bin
if
[
-d
"
$prebuiltdir
/
$toolchaindir
"
]
;
then
export
ANDROID_EABI_TOOLCHAIN
=
$prebuiltdir
/
$toolchaindir
fi
export
ARM_EABI_TOOLCHAIN
=
...
...
This diff is collapsed.
Click to expand it.
tools/adbs
View file @
cb8f6630
...
...
@@ -144,13 +144,13 @@ def SetupToolsPath():
uname
=
"darwin-ppc"
elif
uname
==
"Linux"
:
uname
=
"linux-x86"
prefix
=
"./prebuilt
s/gcc
/"
+
uname
+
"/
arm
/arm-linux-androideabi-4.
6
/bin/"
prefix
=
"./prebuilt/"
+
uname
+
"/
toolchain
/arm-linux-androideabi-4.
4.x
/bin/"
addr2line_cmd
=
prefix
+
"arm-linux-androideabi-addr2line"
if
(
not
os
.
path
.
exists
(
addr2line_cmd
)):
try
:
prefix
=
os
.
environ
[
'ANDROID_BUILD_TOP'
]
+
"/prebuilt
s/gcc/"
+
\
uname
+
"/arm
/arm-linux-androideabi-4.
6
/bin/"
prefix
=
os
.
environ
[
'ANDROID_BUILD_TOP'
]
+
"/prebuilt
/"
+
uname
+
\
"/toolchain
/arm-linux-androideabi-4.
4.x
/bin/"
except
:
prefix
=
""
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment