Lines Matching +full:xtensa +full:- +full:build +full:- +full:all
2 # SPDX-License-Identifier: BSD-3-Clause
5 set -e
18 test -d "$bd"/build-sof-staging ||
19 die 'No %s/build-sof-staging directory\n' "$bd"
22 find "$bd" -name 'config.gz' -exec rm '{}' \;
25 find "$bd" -name '*.gz' -print0 | xargs -r -0 gunzip
27 ( set -x
30 rm -f "$bd"/build-sof-staging/tools/sof-logger*
32 dos2unix "$bd"/build-sof-staging/tools/* || true
35 find "$bd" -name '*.ri' -exec rm '{}' \;
38 find "$bd" -name main.mod -exec rm '{}' \;
39 find "$bd" -name zephyr.elf -exec rm '{}' \;
43 # /opt/toolchains/zephyr-sdk-0.15.2/xtensa-intel_s1000_..../libgcc.a(_divsf3.o)
44 # Delete non-reproducible information inside zephyr.map.
45 find "$bd" -name zephyr.map -exec sed -i'' -e \
46 's#[^[:blank:]]*zephyr-sdk-[^/]*/xtensa#ZSDK/xtensa#; s#\\#/#g; /^ \.debug_/ d' \
50 # all the debug information! So let's delete zephyr.map after all :-(
54 find "$bd" -name zephyr.map -exec rm '{}' \;
56 find "$bd" -name 'compile_commands.json' -exec rm '{}' \;