equal
deleted
inserted
replaced
636 else |
636 else |
637 echo "#define $i ${!i}" >> include/config.h |
637 echo "#define $i ${!i}" >> include/config.h |
638 fi |
638 fi |
639 done |
639 done |
640 echo "" >> include/config.h |
640 echo "" >> include/config.h |
|
641 |
|
642 for i in \ |
|
643 SDO_MAX_SIMULTANEOUS_TRANSFERTS\ |
|
644 NMT_MAX_NODE_ID; do |
|
645 echo "#define REPEAT_"$i"_TIMES(repeat)\\">> include/config.h |
|
646 times=${!i} |
|
647 result="" |
|
648 for (( j=0; j<times; j++ ));do |
|
649 result="$result repeat" |
|
650 done |
|
651 echo $result >> include/config.h |
|
652 done |
|
653 |
641 echo "#endif /* _CONFIG_H_ */" >> include/config.h |
654 echo "#endif /* _CONFIG_H_ */" >> include/config.h |
642 |
655 |
643 ########################################################################### |
656 ########################################################################### |
644 # DEBUG DEFINES/CFLAGS # |
657 # DEBUG DEFINES/CFLAGS # |
645 ########################################################################### |
658 ########################################################################### |