deptest: Also make sure the toolchain is built in the initialization step. This makes...
authorMichael Büsch <mb@bu3sch.de>
Tue, 2 Nov 2010 22:48:29 +0000 (22:48 +0000)
committerMichael Büsch <mb@bu3sch.de>
Tue, 2 Nov 2010 22:48:29 +0000 (22:48 +0000)
SVN-Revision: 23806

scripts/deptest.sh

index 3ce4291b31a7de725e8fdc2eebeb14d240ff1d2d..b82ac465874271c7639348312029dc103eb8a5d3 100755 (executable)
@@ -12,13 +12,17 @@ LOG_DIR="$DIR/logs"
 
 mkdir -p "$STAMP_DIR_SUCCESS" "$STAMP_DIR_FAILED" "$BUILD_DIR" "$LOG_DIR"
 
+die()
+{
+       echo "$@"
+       exit 1
+}
+
 [ -d "$STAGING_DIR_HOST_TMPL" ] || {
        rm -rf staging_dir/host
-       make tools/install V=99 || {
-               echo "make tools/install failed, please check"
-               exit 1
-       }
+       make tools/install V=99 || die "make tools/install failed, please check"
        cp -al staging_dir/host "$STAGING_DIR_HOST_TMPL"
+       make toolchain/install V=99 || die "make toolchain/install failed, please check"
 }
 
 for pkg in `cat tmp/.packagedeps  | grep CONFIG_PACKAGE | grep -v curdir | sed -e 's,.*[/=]\s*,,' | sort -u`; do