[scripts] ext-toolchain.sh: add option to write .config
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Jan 2012 23:46:06 +0000 (23:46 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Jan 2012 23:46:06 +0000 (23:46 +0000)
commitd89596d6e58851f9d770cf052870092fb91a3600
tree19a9fe75909f3c24825039f0a1ddcbb39c573f4f
parent156a74e72448c10727cc6fcf05bf30df52199ef1
[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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29780 3c298f89-4303-0410-b956-a3cf2f4a3e73
scripts/ext-toolchain.sh