parent
c94bf74155
commit
65ff1f1dd2
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
BASE=`pwd`
|
||||||
|
|
||||||
|
NPROC=${NPROC:-$((`nproc`*2))}
|
||||||
|
PARALLEL=${PARALLEL:--j${NPROC}}
|
||||||
|
|
||||||
|
echo "building openocd......"
|
||||||
|
|
||||||
|
./bootstrap
|
||||||
|
./configure --build=i686-w64-mingw32 --host=i686-w64-mingw32 --disable-gccwarnings CFLAGS="-O2"
|
||||||
|
|
||||||
|
sed -i '$d' ./src/jtag/drivers/libjaylink/config.h
|
||||||
|
sed -i '$d' ./src/jtag/drivers/libjaylink/config.h
|
||||||
|
sed -i '$d' ./src/jtag/drivers/libjaylink/config.h
|
||||||
|
|
||||||
|
make ${PARALLEL}
|
Loading…
Reference in New Issue