radare2/preconfigure

17 lines
470 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ ! -f config-user.mk ]; then
printf "[*] Configuring the build system ... "
./configure || exit 1
fi
printf "[*] Checking out capstone... "
rm -rf shlr/capstone
2021-08-25 11:53:08 +00:00
MAKE=make
2021-08-27 09:00:43 +00:00
gmake --version > /dev/null 2>&1
2021-08-25 11:53:08 +00:00
[ $? = 0 ] && MAKE=gmake
${MAKE} -C shlr capstone > /dev/null 2>&1 || exit 1
echo OK
printf "[*] Checking out vector35... "
rm -rf libr/asm/arch/arm/v35arm64/arch-arm64
2021-08-25 11:53:08 +00:00
${MAKE} -C libr/asm/arch/arm/v35arm64 arch-arm64 > /dev/null || exit 1
echo OK