[coreboot] Patch set updated for coreboot: 7b6ad2c crossgcc: Save the script itself when cross build is over.

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Tue Feb 5 03:48:25 CET 2013

Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2247


commit 7b6ad2cebc6a5403b9b0400281f03d8157ab2da3
Author: Zheng Bao <fishbaozi at gmail.com>
Date:   Tue Feb 5 10:51:53 2013 +0800

    crossgcc: Save the script itself when cross build is over.
    In case that the new toolchains don't work well, we can trace back
    and reproduce the old tools by checking the xgcc folder. It is useful
    when my team members need to get my old toolchains on their host
    Change-Id: I54e4bc6afcfbbf622165af6eae27bbb6efc2e8cc
    Signed-off-by: Zheng Bao <zheng.bao at amd.com>
    Signed-off-by: zbao <fishbaozi at gmail.com>
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
 util/crossgcc/buildgcc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index c69e7cd..24357e9 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -595,6 +595,8 @@ test -r $IASL_DIR/generate/unix/.failed && printf "${RED}failed${NC}\n" || \
 test -r $IASL_DIR/generate/unix/.failed && exit 1
+cp `pwd`/$0 $DESTDIR$TARGETDIR/$0.commit.`git describe`
 if [ $SAVETEMPS -eq 0 ]; then
 	printf "Cleaning up... "
 	rm -rf ${GMP_DIR} build-gmp

More information about the coreboot mailing list