# HG changeset patch # User Remy Bohmer # Date 1270839873 -7200 # Node ID 47710588f1b115ffb7fc365fa74853f35221b31e # Parent 0a3b9af214902261bd6a72a83eef4593dc91486b cc/gcc: add bugurl and compiler version to core gcc compiler When building for bare-metal the core-gcc compiler is delivered as final compiler, so the version info and bugurl is useful in the core compiler as well. Signed-off-by: Remy Bohmer diff -r 0a3b9af21490 -r 47710588f1b1 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Fri Apr 09 21:04:28 2010 +0200 +++ b/scripts/build/cc/gcc.sh Fri Apr 09 21:04:33 2010 +0200 @@ -132,6 +132,10 @@ ;; esac + # Bare metal delivers the core compiler as final compiler, so add version info and bugurl + [ -n "${CT_CC_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_CC_BUGURL}") + [ -n "${CT_CC_PKGVERSION}" ] && extra_config+=("--with-pkgversion=${CT_CC_PKGVERSION}") + if [ "${copy_headers}" = "y" ]; then CT_DoLog DEBUG "Copying headers to install area of bootstrap gcc, so it can build libgcc2" CT_DoExecLog ALL mkdir -p "${core_prefix_dir}/${CT_TARGET}/include"