aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-10add support for poking configure flags through ↵HEADmasterAlexander Sack
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
2011-05-27Fix host-libbfd installation problem caused by undefined $(INSTALL)Jim Huang
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>
2011-05-26Make tarball download logic more robust.Paul Sokolovsky
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>
2011-05-26Make sure that package dir exists (befor trying to d/l into it).Paul Sokolovsky
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>
2011-05-23Configure target of host libbfd correctly.Doug Kwan
Change-Id: I30c4fa2e008f62c7d96677ba7219f0d5aec5d12d Signed-off-by: Jim Huang <jim.huang@linaro.org>
2011-04-27linaro-build: Enforce 32-bit ABIJim Huang
2011-04-13linaro-build: Do export CC/CXX env before executing 'configure' scriptJim Huang
2011-04-13linaro-build: Fix typoJim Huang
2011-04-07Improve the messages when expected package directory is not foundJim Huang
2011-04-07linaro-build: Only perform "make install" when 'make' is completeJim Huang
2011-04-07linaro-build: Improve the location for apply patchesJim Huang
2011-04-07linaro-build: Hide the enumeration of gcc-patchesJim Huang
2011-04-06Integrate Linaro-GDB in Android toolchain build systemJim Huang
Patched by Luse Cheng <luse@0xlab.org>
2011-04-06Regenerate configure scriptJim Huang
2011-04-06Add --enable-graphite option to build scriptJim Huang
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
2011-03-29Add --with-sysroot to fix Linaro Android toolchain linking fail with FDOJim Huang
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>
2011-03-29Merge commit '0b2cc1f78f220061012f4013faa94fdd416e41c3' into linaro-masterJim Huang
2011-03-23Allow building toolchain without target gdb alternatively.Luse Cheng
Change-Id: I3fd1c4f628c221e6ae4f939aab73e69b3e546bd1
2011-03-22Merge branch 'master' of git://android.git.kernel.org/toolchain/buildJim Huang
2011-03-21use `basename $0` instead of hard-coded program nameJim Huang
2011-03-18Fix Makefile.in, a previous check-in broke build using gmp/mpfr/mpc tarballs.Doug Kwan
Change-Id: I0b16ee52add11b8394ede920d9a0af45fee0db8d
2011-03-16Merge branch 'master' of git://android.git.kernel.org/toolchain/buildJim Huang
2011-03-15Allow build with prebuilt directory for gmp, mpfr and mpc.Luse Cheng
Change-Id: I436736db24477e261575ee267d126f44cac35627
2011-03-15Disable -Werror in libbfdJim Huang
2011-03-15Merge branch 'master' of git://android.git.kernel.org/toolchain/buildJim Huang
Conflicts: Makefile.in
2011-03-13Build libbfd for host seperately and install in <toolchain root>/lib.Doug Kwan
Change-Id: I05125f833a9ffc4172594431eff5bce34e2e2d65
2011-03-14Merge branch 'master' of git://android.git.kernel.org/toolchain/buildJim Huang
Conflicts: Makefile.in
2011-03-12Install host libbfd in toolchain.Doug Kwan
Change-Id: I9c9a4703ebebc44c7df75594c85dc443394a2426
2011-03-12Use NDK style help messagesJim Huang
2011-03-10Disable -Werror in binutilsJim Huang
Since we don't tend to maintain binutils at the moment, disable -Werror in build process instead.
2011-03-10Trivial syntax fixJim Huang
2011-03-10Add build script of Linaro Toolchain for AndroidJim Huang
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>
2011-02-22Allow canadian-cross builds of the GCC toolchains.David 'Digit' Turner
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
2011-01-30Support building gold from a separate directory.Jing Yu
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
2010-08-20build: Fix trivial documentation typoJim Huang
Change-Id: Ib80c6d91450a5751867cb904b265e21a9dbbb710
2010-08-12Allow Makefile to pick up environmental CFLAGS_FOR_TARGET, andJing Yu
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.
2010-08-11Add 'distclean' rule to delete intermediate build filesJim Huang
This build rule might be useful to developers who wish to switch among different Android targets. Change-Id: I412d7e8f69710dd9d421f21fa7d93bed80642834
2010-08-10Modify clear_header script to recognize arm-linux-androideabiJing Yu
target. Change-Id: Id5a5cf94abffd7a8186fa23eb1b485a670c3fa92
2010-07-22Prepare build for upcoming arm-linux-androideabi toolchain.Jing Yu
Change-Id: I9b1cd5f0d361d092c24557ae1a2e2e2b85b13aaf
2010-06-08Add --disable-nls to building gdb, otherwise gdb-7.0.x failsJing Yu
building on OSX. Change-Id: I54f923f7656ac2f2a7e4a8dc0a07c43bb4cfb05d
2010-04-24Update build script to support gold.Jing Yu
Change-Id: Ie2084dfac8d1a267973650aa32e44f2a7c7bd4ab
2010-02-09Fix two configure bugs on checking gcc version and configuring mpc.Jing Yu
Add flexibility of where to find tarballs. Ported from CL38191-p2 and CL38139-p2.
2010-01-18Add --with-mpc-version to the build script.Jing Yu
GCC-4.5.0 and up requires mpc library. File configure is generated from configure.ac by auto config.
2009-11-18Check in patches that fix minor toolchain build problems.Jing Yu
2009-11-05check in build scripts for prebuilt toolchains in Eclair.Jing Yu
2009-10-29Empty initial commit.Jean-Baptiste Queru