aboutsummaryrefslogtreecommitdiff
path: root/recipes-demo/de10-nano-fftsw-apps/files/clean_all.sh
blob: 08fb098da2032094655c5f9076ab93c9411d2fd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#!/bin/sh

APP_LIST="
create_real_short_sine32
create_real_short_square32
create_real_short_triangle32
real_short_to_ne10cpx_long
real_short_to_ne10cpx_short
ne10cpx_short_to_text
ne10cpx_long_to_text
c16_256
c32_256
fft_256
fftdma_256
neon16_256
neon32_256
c16_4096
c32_4096
fft_4096
fftdma_4096
neon16_4096
neon32_4096
c16_256x32
c32_256x32
fft_256x32
fftdma_256x32
neon16_256x32
neon32_256x32
c16_256x32x128
c32_256x32x128
fft_256x32x128
fftdma_256x32x128
neon16_256x32x128
neon32_256x32x128
stream_fpga_256x32x128
stream_fpga_256x16x1
stream_fpga_256x1x1
stream_neon32_256x32x128
stream_neon32_256x16x1
stream_neon32_256x1x1
stream_raw_256x32x128
stream_raw_256x16x1
stream_raw_256x1x1
"

LIB_LIST="
overhead
"

MISC_LIST="
fft.tgz
fft_src.tgz
fft_sandbox.tgz
"

for NEXT in ${LIB_LIST}
do
	[ -f "lib${NEXT}.a" ] && {
		echo "removing lib${NEXT}.a"
		rm "lib${NEXT}.a"
	}

	[ -f "${NEXT}.o" ] && {
		echo "removing ${NEXT}.o"
		rm "${NEXT}.o"
	}
done

for NEXT in ${APP_LIST}
do
	[ -f "${NEXT}" ] && {
		echo "removing ${NEXT}"
		rm "${NEXT}"
	}

	[ -f "${NEXT}.o" ] && {
		echo "removing ${NEXT}.o"
		rm "${NEXT}.o"
	}
done

for NEXT in ${MISC_LIST}
do
	[ -f "${NEXT}" ] && {
		echo "removing ${NEXT}"
		rm "${NEXT}"
	}
done

exit 0