mirror of
https://github.com/radareorg/radare.git
synced 2026-11-07 06:36:03 -10:00
- Added in the whitelist list of supported debugger platforms
- Rename strbcpy and strccpy with some underlines (they are solaris macros)
* Drop ${E} and ${Q} from makefiles
* make install INSTALL=/usr/bin/ginstall required
.. configure script needs re-acr-ization
49 lines
741 B
Bash
Executable File
49 lines
741 B
Bash
Executable File
#!/bin/sh
|
|
# pancake // radare // nopcode
|
|
# Does Radare Has Native Debugger support for this platform?
|
|
|
|
ARCHOS="${TARGET_CPU}-${TARGET_OS}"
|
|
SUPLIST=`cat <<EOF
|
|
PowerMacintosh-darwin
|
|
i386-netbsd
|
|
i386-openbsd
|
|
i386-freebsd
|
|
x86_64-linux
|
|
x86_64-openbsd
|
|
amd64-openbsd
|
|
amd64-netbsd
|
|
amd64-freebsd
|
|
arm-linux
|
|
armel-linux
|
|
armv5tel-linux
|
|
armv5tejl-linux
|
|
powerpc-linux
|
|
mips64-linux
|
|
mips-linux
|
|
i386-linux
|
|
i686-linux
|
|
i586-mingw32
|
|
arm-darwin
|
|
iPod2,1-darwin
|
|
powerpc-darwin
|
|
i386-darwin
|
|
i86pc-sunos
|
|
EOF`
|
|
|
|
printf "checking for native debugger support on '${ARCHOS}'... "
|
|
RET=""
|
|
if [ '-' = "${ARCHOS}" ]; then
|
|
echo "No ARCH-OS defined"
|
|
RET=""
|
|
else
|
|
RET=`echo $SUPLIST|grep $ARCHOS`
|
|
fi
|
|
|
|
if [ -n "${RET}" ]; then
|
|
echo yes
|
|
DEBUGGER=1
|
|
else
|
|
DEBUGGER=0
|
|
echo no
|
|
fi
|