Changeset a35b458 in mainline for contrib/tools
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- Location:
- contrib/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/tools/gen_vga323.c
r3061bc1 ra35b458 36 36 { 37 37 unsigned int i; 38 38 39 39 for (i = 0; i < 256; i++) 40 40 printf("\t.byte 0x%02x, 0x%02x, 0x%02x, 0x00\n", BLUE(i) * 9, GREEN(i) * 21, RED(i) * 9); 41 41 42 42 return 0; 43 43 } -
contrib/tools/random_check.sh
r3061bc1 ra35b458 88 88 COUNTER=$(( $COUNTER + 1 )) 89 89 echo "Try #$COUNTER ($FAILED failed):" >&2 90 90 91 91 ( 92 92 echo " Cleaning after previous build." >&2 93 93 make distclean -j$JOBS 2>&1 || exit 1 94 95 94 95 96 96 echo " Preparing random configuration." >&2 97 97 # It would be nicer to allow set the constraints directly to … … 105 105 exit 2 106 106 fi 107 107 108 108 make random-config 2>&1 || exit 1 109 109 110 110 tr -d ' ' <Makefile.config >"${FILENAME_PREFIX}config.trimmed" 111 111 112 112 THIS_CONFIG_OKAY=true 113 113 while read pattern; do … … 117 117 fi 118 118 done <"$PRUNE_CONFIG_FILE" 119 119 120 120 rm -f "${FILENAME_PREFIX}config.trimmed" 121 121 122 122 if $THIS_CONFIG_OKAY; then 123 123 break 124 124 fi 125 125 done 126 127 126 127 128 128 # Report basic info about the configuration and build it 129 129 BASIC_CONFIG=`sed -n \ … … 134 134 | paste '-sd,' | sed 's#,#, #g'` 135 135 echo -n " Building ($BASIC_CONFIG)... " >&2 136 136 137 137 make -j$JOBS 2>&1 138 138 if [ $? -eq 0 ]; then … … 143 143 exit 1 144 144 fi 145 145 146 146 ) >random_run_$COUNTER.log 147 147 RC=$? 148 148 149 149 if [ $RC -ne 0 ]; then 150 150 tail -n 10 random_run_$COUNTER.log | sed 's#.*# | &#' 151 151 FAILED=$(( $FAILED + 1 )) 152 152 fi 153 153 154 154 if [ -e Makefile.config ]; then 155 155 cp Makefile.config "$FILENAME_PREFIX$COUNTER.Makefile.config" -
contrib/tools/toolchain_check.sh
r3061bc1 ra35b458 38 38 objcopy_path=`echo "$arch_path"/bin/*-objcopy` 39 39 gdb_path=`echo "$arch_path"/bin/*-gdb` 40 40 41 41 print_version "$ld_path" "Linker not found!" || continue 42 42 43 43 print_version "$objcopy_path" "objcopy not found!" || continue 44 44 45 45 print_version "$gcc_path" "GCC not found!" || continue 46 46 check_define "$gcc_path" "__helenos__" 1 || continue 47 47 check_define "$gcc_path" "helenos_uarch" "$arch" || continue 48 48 49 49 print_version "$gdb_path" "GDB not found!" || continue 50 50 done
Note:
See TracChangeset
for help on using the changeset viewer.