-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate_symbolic_links_for_dsplib.sh
executable file
·54 lines (41 loc) · 1.63 KB
/
create_symbolic_links_for_dsplib.sh
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
#!/bin/bash
if [ -d dsplib_dir ]; then
cd dsplib_dir
else
echo "Cannot find dsplib_dir/, will quit."
exit -1
fi
if [[ -f dsplib_c64x_latest_lib_dir/dsplib.a64 ]]; then
ln -fs dsplib_c64x_latest_lib_dir/dsplib.a64 dsplib_c64_coff.lib
fi
if [[ -f dsplib_c64x_latest_lib_dir/dsplib.ae64 ]]; then
ln -fs dsplib_c64x_latest_lib_dir/dsplib.ae64 dsplib_c64_elf.lib
fi
if [[ -f dsplib_c67x_latest_lib_dir/dsplib.a67 ]]; then
ln -fs dsplib_c67x_latest_lib_dir/dsplib.a67 dsplib_c67_coff.lib
fi
# We haven't tested this yet.
# if [[ -f dsplib_c67x_latest_lib_dir/dsplib.ae67 ]]; then
# ln -fs dsplib_c67x_latest_lib_dir/dsplib.ae67 dsplib_c67_elf.lib
# fi
if [[ -f dsplib_c64Px_latest_lib_dir/dsplib.a64P ]]; then
ln -fs dsplib_c64Px_latest_lib_dir/dsplib.a64P dsplib_c64plus_coff.lib
fi
if [[ -f dsplib_c64Px_latest_lib_dir/dsplib.ae64P ]]; then
ln -fs dsplib_c64Px_latest_lib_dir/dsplib.ae64P dsplib_c64plus_elf.lib
fi
if [[ -f dsplib_c674x_latest_lib_dir/dsplib.a674 ]]; then
ln -fs dsplib_c674x_latest_lib_dir/dsplib.a674 dsplib_c67plus_coff.lib
ln -fs dsplib_c674x_latest_lib_dir/dsplib.a674 dsplib_c674_coff.lib
fi
if [[ -f dsplib_c674x_latest_lib_dir/dsplib.ae674 ]]; then
ln -fs dsplib_c674x_latest_lib_dir/dsplib.ae674 dsplib_c67plus_elf.lib
ln -fs dsplib_c674x_latest_lib_dir/dsplib.ae674 dsplib_c674_elf.lib
fi
if [[ -f dsplib_c66x_latest_lib_dir/dsplib.a66 ]]; then
ln -fs dsplib_c66x_latest_lib_dir/dsplib.a66 dsplib_c66_coff.lib
fi
if [[ -f dsplib_c66x_latest_lib_dir/dsplib.ae66 ]]; then
ln -fs dsplib_c66x_latest_lib_dir/dsplib.ae66 dsplib_c66_elf.lib
fi
ls -l *.lib