Loading scripts/prepare_instrumentation.sh +6 −3 Original line number Diff line number Diff line Loading @@ -49,13 +49,13 @@ while getopts "m:p:h" OPTIONS; do case ${OPTIONS} in m) MODE=${OPTARG^^} if [ "$MODE" != "FULL" && "$MODE" != "MEM_ONLY" ]; then if [ "$MODE" != "FULL" -a "$MODE" != "MEM_ONLY" ]; then usage fi ;; p) PROJECT=${OPTARG^^} if [ "$PROJECT" != "FLOAT" && "$PROJECT" != "BASOP" ]; then if [ "$PROJECT" != "FLOAT" -a "$PROJECT" != "BASOP" ]; then usage fi ;; Loading Loading @@ -165,11 +165,14 @@ if coan_exists; then sed -i "/-DWMOPS/d" $ifdef_list sed -i "/-UMEM_COUNT_DETAILS/d" $ifdef_list coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/lib_{com,dec,enc,isar,rend,util,debug}/!(wmc_auto*).[hc] coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/apps/*.[hc] if [ "$PROJECT" = "FLOAT" ]; then coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/lib_{com,dec,enc,isar,rend,util,debug}/!(wmc_auto*).[hc] coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/lib_lc3plus/!(wmc_auto*).[hc] coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/lib_lc3plus/fft/!(wmc_auto*).[hc] else # same as first call from if, but without "isar" to avoid coan warning coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/lib_{com,dec,enc,rend,util,debug}/!(wmc_auto*).[hc] fi else ./strip_defines_cppp.sh $targetdir $ifdef_list Loading Loading
scripts/prepare_instrumentation.sh +6 −3 Original line number Diff line number Diff line Loading @@ -49,13 +49,13 @@ while getopts "m:p:h" OPTIONS; do case ${OPTIONS} in m) MODE=${OPTARG^^} if [ "$MODE" != "FULL" && "$MODE" != "MEM_ONLY" ]; then if [ "$MODE" != "FULL" -a "$MODE" != "MEM_ONLY" ]; then usage fi ;; p) PROJECT=${OPTARG^^} if [ "$PROJECT" != "FLOAT" && "$PROJECT" != "BASOP" ]; then if [ "$PROJECT" != "FLOAT" -a "$PROJECT" != "BASOP" ]; then usage fi ;; Loading Loading @@ -165,11 +165,14 @@ if coan_exists; then sed -i "/-DWMOPS/d" $ifdef_list sed -i "/-UMEM_COUNT_DETAILS/d" $ifdef_list coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/lib_{com,dec,enc,isar,rend,util,debug}/!(wmc_auto*).[hc] coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/apps/*.[hc] if [ "$PROJECT" = "FLOAT" ]; then coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/lib_{com,dec,enc,isar,rend,util,debug}/!(wmc_auto*).[hc] coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/lib_lc3plus/!(wmc_auto*).[hc] coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/lib_lc3plus/fft/!(wmc_auto*).[hc] else # same as first call from if, but without "isar" to avoid coan warning coan source --replace --no-transients -E -K --file $ifdef_list $targetdir/lib_{com,dec,enc,rend,util,debug}/!(wmc_auto*).[hc] fi else ./strip_defines_cppp.sh $targetdir $ifdef_list Loading