Commit 65094379 authored by Alessandro Rubini's avatar Alessandro Rubini

build: make clean in userspace before re-building

Make clean should not be needed, with proper makefiles. However, we
have no dependencies (no proper makefiles), so we'd better clean
first, as building userspace is fast anyways.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent f3e9587b
......@@ -15,13 +15,13 @@ wrs_echo "--- User space tools"
sourcedir="$WRS_BASE_DIR/../userspace"
installdir="$WRS_OUTPUT_DIR/images/wr"
mkdir -p $installdir || wrs_die "mkdir images/wr"
# This time build is done in-place, but the output is a tree in images/wr.
# Some of the makefiles inside use
export LINUX="$WRS_OUTPUT_DIR/build/linux-2.6.39"
cd $sourcedir && make
cd $sourcedir
make clean || wrs_die "Error cleaning user space"
make || wrs_die "Error building user space"
# mini-rpc is an external package, it has no wr-specific install
install -d $installdir/lib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment