[scripts] ext-toolchain.sh: add option to write .config
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 18 Jan 2012 23:46:06 +0000 (23:46 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 18 Jan 2012 23:46:06 +0000 (23:46 +0000)
commit64ea482ec81c835920bf372ec3799099cba634ea
tree19a9fe75909f3c24825039f0a1ddcbb39c573f4f
parentb4096b4fca89dc812c4c1464dd2e3dab51dfa40d
[scripts] ext-toolchain.sh: add option to write .config
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.

SVN-Revision: 29780
scripts/ext-toolchain.sh