Commit b6c5f83b authored by Alessandro Rubini's avatar Alessandro Rubini

build: added wrs_build_userspace

parent 3d62ba8d
#!/bin/bash
# check variables, like all scripts herein do
WRS_SCRIPT_NAME=$(basename $0)
if [ -z "$WRS_BASE_DIR" ]; then
echo "$0: Plesae set WRS_BASE_DIR" >& 2
exit 1
fi
. ${WRS_BASE_DIR}/scripts/wrs_functions
wrs_check_vars WRS_OUTPUT_DIR WRS_DOWNLOAD_DIR WRS_WR_REPOSITORY CROSS_COMPILE
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
cd $sourcedir && make
cd $sourcedir && make install WR_INSTALL_ROOT="$installdir"
......@@ -77,7 +77,7 @@ wrs_build_step 01-at91boot wrs_build_at91boot
wrs_build_step 02-u-boot wrs_build_u-boot
wrs_build_step 03-kernel wrs_build_kernel
wrs_build_step 04-modules wrs_build_modules
#wrs_build_step 05-wrs-tools wrs_build_tools
wrs_build_step 05-wrs-userspace wrs_build_userspace
#wrs_build_step 06-wrs-addon wrs_build_addon
#wrs_build_step 07-wrap-rootfs wrs_build_finalrootfs
#wrs_build_step 08-host-tftpd wrs_build_tftpd
......
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