deptest: Also make sure the toolchain is built in the initialization step. This makes it possible to run the script from within a fresh tree.
SVN-Revision: 23806
This commit is contained in:
parent
0f21452ff8
commit
0cacb5855d
1 changed files with 8 additions and 4 deletions
|
@ -12,13 +12,17 @@ LOG_DIR="$DIR/logs"
|
||||||
|
|
||||||
mkdir -p "$STAMP_DIR_SUCCESS" "$STAMP_DIR_FAILED" "$BUILD_DIR" "$LOG_DIR"
|
mkdir -p "$STAMP_DIR_SUCCESS" "$STAMP_DIR_FAILED" "$BUILD_DIR" "$LOG_DIR"
|
||||||
|
|
||||||
|
die()
|
||||||
|
{
|
||||||
|
echo "$@"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
[ -d "$STAGING_DIR_HOST_TMPL" ] || {
|
[ -d "$STAGING_DIR_HOST_TMPL" ] || {
|
||||||
rm -rf staging_dir/host
|
rm -rf staging_dir/host
|
||||||
make tools/install V=99 || {
|
make tools/install V=99 || die "make tools/install failed, please check"
|
||||||
echo "make tools/install failed, please check"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
cp -al staging_dir/host "$STAGING_DIR_HOST_TMPL"
|
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
|
for pkg in `cat tmp/.packagedeps | grep CONFIG_PACKAGE | grep -v curdir | sed -e 's,.*[/=]\s*,,' | sort -u`; do
|
||||||
|
|
Loading…
Reference in a new issue