aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ext-toolchain.sh
Commit message (Collapse)AuthorAgeFilesLines
* [scripts] ext-toolchain.sh: rework generated gcc wrapperJo-Philipp Wich2012-01-291-13/+44
| | | | | | | | Only append -L and -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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: support --wrap with src == destJo-Philipp Wich2012-01-291-3/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLSJo-Philipp Wich2012-01-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29782 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: fix typoJo-Philipp Wich2012-01-191-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29781 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: add option to write .configJo-Philipp Wich2012-01-181-3/+137
| | | | | | | | | | | | Add a new --config option to 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh: properly handle toolchains without sysroot supportJo-Philipp Wich2012-01-181-9/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] ext-toolchain.sh:Jo-Philipp Wich2012-01-181-21/+21
| | | | | | | | | | - use GCC's own idea of the target name (-dumpmachine) - display help if called without args - add copyright foo - remove some leftover flag handling code git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] add ext-toolchain.sh, a utility for external toolchainsJo-Philipp Wich2012-01-181-0/+410
The ext-toolchain.sh 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29765 3c298f89-4303-0410-b956-a3cf2f4a3e73