Changeset 18b1643 in mainline for build_all.sh
- Timestamp:
- 2019-08-17T12:49:43Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 43255da
- Parents:
- 8183b35
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-07-01 11:48:09)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
build_all.sh
r8183b35 r18b1643 29 29 for profile in $PROFILES; do 30 30 # echo "Configuring profile ${profile}" 31 if [ -f ${profile}/build.ninja ]; then32 script -q -e /dev/null -c "ninja -C '${profile}' build.ninja" </dev/null >"${profile}/configure_output.log" 2>&1 &33 echo "$!" >"${profile}/configure.pid"34 continue35 fi36 31 37 # Let HelenOS config tool write out Makefile.config and config.h.38 32 mkdir -p ${profile} || exit 1 39 cd ${profile} || exit 1 40 "${SOURCE_DIR}/tools/config.py" "${CONFIG_RULES}" "${CONFIG_DEFAULTS}" hands-off "${profile}" || exit 1 41 cd - 42 43 44 if [ "$profile" = 'special/abs32le' ]; then 45 cross_target='ia32' 46 else 47 cross_target=`dirname $profile` 48 if [ "$cross_target" = '.' ]; then 49 cross_target=$profile 50 fi 51 fi 52 53 script -q -e /dev/null -c "meson '${SOURCE_DIR}' '${profile}' --cross-file '${SOURCE_DIR}/meson/cross/${cross_target}'" </dev/null >"${profile}/configure_output.log" 2>&1 & 33 script -q -e /dev/null -c "cd '${profile}' && '${SOURCE_DIR}/configure.sh' '${profile}' && ninja build.ninja" </dev/null >"${profile}/configure_output.log" 2>&1 & 54 34 echo "$!" >"${profile}/configure.pid" 55 35 done … … 79 59 80 60 for profile in $PROFILES; do 61 echo 81 62 ninja -C ${profile} || exit 1 82 63 done … … 88 69 89 70 for profile in $PROFILES; do 71 echo 90 72 ninja -C ${profile} image_path || exit 1 73 done 74 75 echo 76 for profile in $PROFILES; do 77 path=`cat ${profile}/image_path` 78 79 if [ ! -z "$path" ]; then 80 echo "built ${profile}/${path}" 81 fi 91 82 done 92 83 else
Note:
See TracChangeset
for help on using the changeset viewer.