summaryrefslogtreecommitdiff
path: root/scripts/ext-toolchain.sh
Commit message (Collapse)AuthorAgeFilesLines
* ext-toolchain.sh: don't pass CFLAGS when wrapping ldJo-Philipp Wich2012-05-011-1/+1
| | | | SVN-Revision: 31549
* ext-toolchain.sh: rework generated gcc wrapper Only append -L and ↵Jo-Philipp Wich2012-01-291-13/+44
| | | | | | -Wl,-rpath-link flags if the command line contains -l, -L, -shared or -static flags; this is needed to suppress "-rpath-link: linker input file unused because linking not done" on each cc invocation. SVN-Revision: 29946
* ext-toolchain.sh: support --wrap with src == destJo-Philipp Wich2012-01-291-3/+9
| | | | SVN-Revision: 29944
* ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLSJo-Philipp Wich2012-01-191-2/+2
| | | | SVN-Revision: 29782
* ext-toolchain.sh: fix typoJo-Philipp Wich2012-01-191-2/+1
| | | | SVN-Revision: 29781
* ext-toolchain.sh: add option to write .config Add a new --config option to ↵Jo-Philipp Wich2012-01-181-3/+137
| | | | | | | | | | generate a .config from a given toolchain, this allows for easy integration of external toolchains, e.g. ./scripts/ext-toolchain.sh --toolchain /opt/mips-2011.03 --cflags "-muclibc" --config atheros to setup a ready-to-compile atheros target using the external CodeSourcery toolchain. SVN-Revision: 29780
* ext-toolchain.sh: properly handle toolchains without sysroot supportJo-Philipp Wich2012-01-181-9/+6
| | | | SVN-Revision: 29772
* ext-toolchain.sh: - use GCC's own idea of the target name (-dumpmachine) - ↵Jo-Philipp Wich2012-01-181-21/+21
| | | | | | display help if called without args - add copyright foo - remove some leftover flag handling code SVN-Revision: 29769
* add ext-toolchain.sh, a utility for external toolchains The ext-toolchain.sh ↵Jo-Philipp Wich2012-01-181-0/+410
utility script implements various external toolchain tasks: * Testing of available features, like c++, soft-float or ipv6 support * Finding the libc implementation (uclibc or eglibc/glibc) * Inferring the GNU target name * Finding shared objects for packaging (libc, libpthread, ...) * Finding executables for packaging (ldd, gdbserver, ...) * Generating wrapper scripts for toolchain commands SVN-Revision: 29765