wok rev 10035
slitaz-toolchain: add build and host info to log and doc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 04:19:01 2011 +0200 (2011-05-20) |
parents | 6cb60b6aa19f |
children | 560bead4e358 |
files | slitaz-toolchain/receipt |
line diff
1.1 --- a/slitaz-toolchain/receipt Fri May 20 03:21:36 2011 +0200 1.2 +++ b/slitaz-toolchain/receipt Fri May 20 04:19:01 2011 +0200 1.3 @@ -9,7 +9,6 @@ 1.4 1.5 DEPENDS="binutils linux-api-headers glibc-dev gcc make elfkickers" 1.6 1.7 -# 1.8 # The goal here is to build and install SliTaz toolchain. We build the toolchain 1.9 # from SliTaz packages, on SliTaz and for SliTaz so in case of new and important 1.10 # toolchain upgrade we must build Binutils a first time, then GCC so it use the 1.11 @@ -20,7 +19,6 @@ 1.12 # 1.13 # SliTaz does one big toolchain by year just after the stable release, any change 1.14 # here or in the toolchain packages version must be discuss on the mailing list. 1.15 -# 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 @@ -29,7 +27,11 @@ 1.20 tmplog=$LOGS/$PACKAGE.tmplog 1.21 echo "Cook: $PACKAGE $VERSION" > $tmplog 1.22 separator >> $tmplog 1.23 - echo "cook: started $(date '+%Y-%m-%d %H:%M')" >> $tmplog 1.24 + cat >> $tmplog << EOT 1.25 +cook toolchain : started $(date "+%Y-%m-%d %H:%M") 1.26 +build system : $BUILD_SYSTEM 1.27 +host system : $HOST_SYSTEM 1.28 +EOT 1.29 1.30 # 1. binutils (first pass) 1.31 echo "cook: binutils first pass: $(date '+%Y-%m-%d %H:%M')" >> $tmplog 1.32 @@ -79,7 +81,10 @@ 1.33 cat > $fs/usr/share/doc/slitaz/toolchain.txt << EOT 1.34 SliTaz GNU/Linux toolchain 1.35 ================================================================================ 1.36 -Build date: $(date "+%Y-%m-%d") 1.37 +Build date : $(date "+%Y-%m-%d") 1.38 +Build system : $BUILD_SYSTEM 1.39 +Host system : $HOST_SYSTEM 1.40 + 1.41 Packages: 1.42 1.43 * Binutils $binutils