зеркало из https://github.com/mozilla/gecko-dev.git
Build changes to support gonk-ics (bug 737167, r=cjones, patch by mwu).
This commit is contained in:
Родитель
0984b1f802
Коммит
8dfb4a8ca6
22
configure.in
22
configure.in
|
@ -301,19 +301,23 @@ MOZ_ARG_WITH_STRING(gonk,
|
|||
location of gonk dir],
|
||||
gonkdir=$withval)
|
||||
|
||||
MOZ_ARG_WITH_STRING(gonk-toolchain-prefix,
|
||||
[ --with-gonk-toolchain-prefix=DIR
|
||||
prefix to gonk toolchain commands],
|
||||
gonk_toolchain_prefix=$withval)
|
||||
|
||||
if test -n "$gonkdir" ; then
|
||||
kernel_name=`uname -s | tr "[[:upper:]]" "[[:lower:]]"`
|
||||
gonk_toolchain="$gonkdir"/prebuilt/$kernel_name-x86/toolchain/arm-eabi-4.4.3
|
||||
|
||||
dnl set up compilers
|
||||
AS="$gonk_toolchain"/bin/"$android_tool_prefix"-as
|
||||
CC="$gonk_toolchain"/bin/"$android_tool_prefix"-gcc
|
||||
CXX="$gonk_toolchain"/bin/"$android_tool_prefix"-g++
|
||||
CPP="$gonk_toolchain"/bin/"$android_tool_prefix"-cpp
|
||||
LD="$gonk_toolchain"/bin/"$android_tool_prefix"-ld
|
||||
AR="$gonk_toolchain"/bin/"$android_tool_prefix"-ar
|
||||
RANLIB="$gonk_toolchain"/bin/"$android_tool_prefix"-ranlib
|
||||
STRIP="$gonk_toolchain"/bin/"$android_tool_prefix"-strip
|
||||
AS="$gonk_toolchain_prefix"as
|
||||
CC="$gonk_toolchain_prefix"gcc
|
||||
CXX="$gonk_toolchain_prefix"g++
|
||||
CPP="$gonk_toolchain_prefix"cpp
|
||||
LD="$gonk_toolchain_prefix"ld
|
||||
AR="$gonk_toolchain_prefix"ar
|
||||
RANLIB="$gonk_toolchain_prefix"ranlib
|
||||
STRIP="$gonk_toolchain_prefix"strip
|
||||
|
||||
STLPORT_CPPFLAGS="-I$gonkdir/ndk/sources/cxx-stl/stlport/stlport/"
|
||||
STLPORT_LIBS="-lstlport"
|
||||
|
|
|
@ -292,19 +292,23 @@ MOZ_ARG_WITH_STRING(gonk,
|
|||
location of gonk dir],
|
||||
gonkdir=$withval)
|
||||
|
||||
MOZ_ARG_WITH_STRING(gonk-toolchain-prefix,
|
||||
[ --with-gonk-toolchain-prefix=DIR
|
||||
prefix to gonk toolchain commands],
|
||||
gonk_toolchain_prefix=$withval)
|
||||
|
||||
if test -n "$gonkdir" ; then
|
||||
kernel_name=`uname -s | tr "[[:upper:]]" "[[:lower:]]"`
|
||||
gonk_toolchain="$gonkdir"/prebuilt/$kernel_name-x86/toolchain/arm-eabi-4.4.3
|
||||
|
||||
dnl set up compilers
|
||||
AS="$gonk_toolchain"/bin/"$android_tool_prefix"-as
|
||||
CC="$gonk_toolchain"/bin/"$android_tool_prefix"-gcc
|
||||
CXX="$gonk_toolchain"/bin/"$android_tool_prefix"-g++
|
||||
CPP="$gonk_toolchain"/bin/"$android_tool_prefix"-cpp
|
||||
LD="$gonk_toolchain"/bin/"$android_tool_prefix"-ld
|
||||
AR="$gonk_toolchain"/bin/"$android_tool_prefix"-ar
|
||||
RANLIB="$gonk_toolchain"/bin/"$android_tool_prefix"-ranlib
|
||||
STRIP="$gonk_toolchain"/bin/"$android_tool_prefix"-strip
|
||||
AS="$gonk_toolchain_prefix"as
|
||||
CC="$gonk_toolchain_prefix"gcc
|
||||
CXX="$gonk_toolchain_prefix"g++
|
||||
CPP="$gonk_toolchain_prefix"cpp
|
||||
LD="$gonk_toolchain_prefix"ld
|
||||
AR="$gonk_toolchain_prefix"ar
|
||||
RANLIB="$gonk_toolchain_prefix"ranlib
|
||||
STRIP="$gonk_toolchain_prefix"strip
|
||||
|
||||
STLPORT_CPPFLAGS="-I$gonkdir/external/stlport/stlport"
|
||||
STLPORT_LIBS="-lstlport"
|
||||
|
|
Загрузка…
Ссылка в новой задаче