Changeset fa6fbad8 in mainline
- Timestamp:
- 2019-08-17T12:49:44Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ee353dd8
- Parents:
- 19c2b44
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-07-16 13:23:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:44)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
build_all.sh
r19c2b44 rfa6fbad8 8 8 SOURCE_DIR=`dirname -- "$SOURCE_DIR"` 9 9 SOURCE_DIR=`cd $SOURCE_DIR && echo $PWD` 10 11 # Check command line arguments. 12 13 if [ "$#" -gt 1 ] || [ "$#" -eq 1 -a "$1" != '--no-images' ]; then 14 echo "Unknown command-line arguments." 15 echo "Usage:" 16 echo "\t$0 # Build everything." 17 echo "\t$0 --no-images # Build all code, but don't create bootable images." 18 exit 1 19 fi 20 21 if [ "$#" -eq 1 ]; then 22 NO_IMAGES=true 23 else 24 NO_IMAGES=false 25 fi 10 26 11 27 # Make sure we don't make a mess in the source root. … … 63 79 done 64 80 81 if [ "$NO_IMAGES" = 'true' ]; then 82 echo 83 echo "Bootable images not built due to argument --no-images." 84 exit 0 85 fi 65 86 66 if [ "$#" -eq 1 ] && [ "$1" = 'images' ]; then 87 echo 88 echo "###################### Building all images ######################" 89 90 for profile in $PROFILES; do 67 91 echo 68 echo "###################### Building all images ######################" 92 ninja -C ${profile} image_path || exit 1 93 done 69 94 70 for profile in $PROFILES; do 71 echo 72 ninja -C ${profile} image_path || exit 1 73 done 95 echo 96 for profile in $PROFILES; do 97 path=`cat ${profile}/image_path` 74 98 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 82 done 83 else 84 echo 85 echo "Bootable images not built." 86 echo "Run '$0 images' to build them as well." 87 fi 99 if [ ! -z "$path" ]; then 100 echo "built ${profile}/${path}" 101 fi 102 done
Note:
See TracChangeset
for help on using the changeset viewer.