Age | Commit message (Collapse) | Author |
|
LINARO_BUILD_EXTRA_CONFIGURE_FLAGS
when moving to new versions of toolchain and for experiments
it might be needed to add extra configure flags from outside.
we opted to make this a 'hidden' environment hook rather
than an official command line interpreter, because linaro-build.sh
should normally produce validated linaro toolchain packages and
not suggest to users that poking configure flags is something
that would still yield a validated linaro toolchain
|
|
While executing target install-host-libbfd, the build system complains:
make -C libbfd-binutils-2.20.1/bfd install \
bfdlibdir=/tmp/android-toolchain-eabi/lib
bfdincludedir=/tmp/android-toolchain-eabi/include && \ -m 644
libbfd-binutils-2.20.1/intl/libintl.a \ /tmp/android-toolchain-eabi/lib
&& \ -m 644 libbfd-binutils-2.20.1/libiberty/libiberty.a \
/tmp/android-toolchain-eabi/lib
/bin/sh: line 2: -m: command not found
The problem was caused by undefined $(INSTALL). The patch attempts to
configure `install' program by autotool in order to set $(INSTALL)
properly and replace $(INSTALL) -m 644 with multi-platform friendly
$(INSTALL_DATA).
Signed-off-by: Jim Huang <jim.huang@linaro.org>
|
|
Treat tarball as complete only if it's in the final destination.
Otherwise, just assume that there may be partially downloaded file
in the current directory and wget -c it.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Signed-off-by: Jim Huang <jim.huang@linaro.org>
|
|
Also, explicitly treat it as directory, to avoid confusion with the
file of same name.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Signed-off-by: Jim Huang <jim.huang@linaro.org>
|
|
Change-Id: I30c4fa2e008f62c7d96677ba7219f0d5aec5d12d
Signed-off-by: Jim Huang <jim.huang@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Patched by Luse Cheng <luse@0xlab.org>
|
|
|
|
GCC 4.5 and up supports graphite optimization, and cloog and ppl
are required. This change attempts to support some combinations
of ppl and cloog/cloog-ppl libraries. Since cloog and ppl are
written in C++, it implies we might suffer from C++ ABI breakage
problems when host environment changes, that is a well-known issue
in GNU/Linux distributions. Thus, we have to link to static C++
runtime library (libstdc++) to avoid depending on the host version.
Default: yes
|
|
This change is expected to fix Linaro Android toolchain linking fail
with FDO (Feedback Directed Optimization) with Android toolchain
benchmark suite.
Patched by Luse Cheng <luse@0xlab.org>
|
|
|
|
Change-Id: I3fd1c4f628c221e6ae4f939aab73e69b3e546bd1
|
|
|
|
|
|
Change-Id: I0b16ee52add11b8394ede920d9a0af45fee0db8d
|
|
|
|
Change-Id: I436736db24477e261575ee267d126f44cac35627
|
|
|
|
Conflicts:
Makefile.in
|
|
Change-Id: I05125f833a9ffc4172594431eff5bce34e2e2d65
|
|
Conflicts:
Makefile.in
|
|
Change-Id: I9c9a4703ebebc44c7df75594c85dc443394a2426
|
|
|
|
Since we don't tend to maintain binutils at the moment, disable -Werror
in build process instead.
|
|
|
|
Add linaro-build.sh to support Linaro Android toolchain.
Usage:
--prefix=
--toolchain-src=
--with-gcc=
--apply-gcc-patch=
Patched by Luse Cheng <luse@0xlab.org>
|
|
This patch allows one to use the "mingw32" cross-compiler on Linux
in order to generate Windows compiler binaries that target ARM machine
code.
This corresponds to the local NDK patch at:
http://android.git.kernel.org/?p=platform/ndk.git;a=tree;f=build/tools/toolchain-patches/build;h=df69b5702a33686574b0d83b94c27e6209036a57;hb=refs/heads/master
Which has been rebased to the AOSP top-of-tree.
Change-Id: Id4843f66af190c9db02e8f7939045e92e6241ba8
|
|
Before, we built binutils and gold from binutils-2.19.
Now we configure Android toolchain (not for kernel use)
--with-binutils-version=2.20.1
--with-gold-version=20100303
--enable-gold=both/gold
Gold is still the default linker. Command line option "-fuse-ld=bfd"
will tell gcc driver to choose gnu ld linker.
Change-Id: I856892fafee7e53332c6b64f5d2e64d744529902
|
|
Change-Id: Ib80c6d91450a5751867cb904b265e21a9dbbb710
|
|
CXXFLAGS_FOR_TARGET. So that libstdc++_v3 libraries can be built
without modifying the Makefiles.
Change-Id: I569febd84a1bf60b15b19030064b4d9996c93bb0
Tested:
export CFLAGS_FOR_TARGET=-fexceptions
export CXXFLAGS_FOR_TARGET=-frtti
Add --enable-libstdc__-v3 to the configuration command, build a C++
supportive toolchain.
|
|
This build rule might be useful to developers who wish to switch among
different Android targets.
Change-Id: I412d7e8f69710dd9d421f21fa7d93bed80642834
|
|
target.
Change-Id: Id5a5cf94abffd7a8186fa23eb1b485a670c3fa92
|
|
Change-Id: I9b1cd5f0d361d092c24557ae1a2e2e2b85b13aaf
|
|
building on OSX.
Change-Id: I54f923f7656ac2f2a7e4a8dc0a07c43bb4cfb05d
|
|
Change-Id: Ie2084dfac8d1a267973650aa32e44f2a7c7bd4ab
|
|
Add flexibility of where to find tarballs.
Ported from CL38191-p2 and CL38139-p2.
|
|
GCC-4.5.0 and up requires mpc library.
File configure is generated from configure.ac by auto config.
|
|
|
|
|
|
|