-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.sh
executable file
·58 lines (55 loc) · 997 Bytes
/
build.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
55
56
57
58
set -e
p=$1
if test "x$p" = x; then
p=.
cd $p/openocd
srcdir=.
else
srcdir=$p/openocd
if test `ls -a | wc -l` = 2; then :
else
echo "build directory not empty"
exit 2
fi
fi
$srcdir/configure \
--prefix=/opt/openocd-emf32s2-cmsis-dap\
--disable-shared\
--without-capstone\
--enable-cmsis-dap\
--enable-ftdi\
--enable-jlink\
--disable-presto\
--disable-stlink\
--disable-rshim\
--disable-usb-blaster-2\
--disable-ti-icdi\
--disable-vsllink\
--disable-ft232r\
--disable-xds110\
--disable-osbdm\
--disable-opendous\
--disable-armjtagew\
--disable-rlink\
--disable-usbprog\
--disable-aice\
--disable-nulink\
--disable-kitprog\
--disable-buspirate\
--disable-parport\
--disable-parport-ppdev\
--disable-amtjtagaccel\
--disable-openjtag\
--disable-usb-blaster\
--disable-remote-bitbang\
--disable-xlnx-pcie-xvc\
--disable-gw16012\
--disable-at91rm9200\
--disable-ep93xx\
--disable-imx_gpio\
--disable-bcm2835gpio\
\
--disable-ssl\
make clean
make
cd ..