toolchain: keep the initial gcc around for later uclibc rebuilds
authorFelix Fietkau <nbd@openwrt.org>
Sat, 30 Jun 2012 18:12:15 +0000 (18:12 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 30 Jun 2012 18:12:15 +0000 (18:12 +0000)
commit488f47237e196cfe24bbeee4c237db19d304e7f8
treee9741f4053e435dcac945ef01c5cf1593029a8f6
parent477607f2e14d11f7afd1616ef508e68a3af35ef3
toolchain: keep the initial gcc around for later uclibc rebuilds

testing uclibc changes is tricky because the final gcc tends to miscompile
uclibc code or barf up internal compiler errors.
install binutils into $(TOOLCHAIN_DIR)/initial (without changing the configure
prefix) and copy it from there to $(TOOLCHAIN_DIR)/ so that the initial gcc
can be put into $(PATH) for the uclibc build, even if the final gcc
is already installed.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32553 3c298f89-4303-0410-b956-a3cf2f4a3e73
toolchain/binutils/Makefile
toolchain/gcc/initial/Makefile
toolchain/uClibc/Makefile