1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 18:35:55 +02:00

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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23806 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mb 2010-11-02 22:48:29 +00:00
parent 715801d071
commit f00673e328

View File

@ -12,13 +12,17 @@ LOG_DIR="$DIR/logs"
mkdir -p "$STAMP_DIR_SUCCESS" "$STAMP_DIR_FAILED" "$BUILD_DIR" "$LOG_DIR"
[ -d "$STAGING_DIR_HOST_TMPL" ] || {
rm -rf staging_dir/host
make tools/install V=99 || {
echo "make tools/install failed, please check"
die()
{
echo "$@"
exit 1
}
[ -d "$STAGING_DIR_HOST_TMPL" ] || {
rm -rf staging_dir/host
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