enable arm build
This commit is contained in:
parent
928c32260a
commit
b98eea51e8
|
@ -985,6 +985,10 @@ elif test "$target_cpu" = "ppc" ; then
|
||||||
echo "TARGET_ARCH=ppc" >> $config_mak
|
echo "TARGET_ARCH=ppc" >> $config_mak
|
||||||
echo "#define TARGET_ARCH \"ppc\"" >> $config_h
|
echo "#define TARGET_ARCH \"ppc\"" >> $config_h
|
||||||
echo "#define TARGET_PPC 1" >> $config_h
|
echo "#define TARGET_PPC 1" >> $config_h
|
||||||
|
elif test "$target_cpu" = "arm" ; then
|
||||||
|
echo "TARGET_ARCH=arm" >> $config_mak
|
||||||
|
echo "#define TARGET_ARCH \"arm\"" >> $config_h
|
||||||
|
echo "#define TARGET_ARM 1" >> $config_h
|
||||||
else
|
else
|
||||||
echo "Unsupported target CPU"
|
echo "Unsupported target CPU"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -117,6 +117,17 @@ if test "$ARCH" != "$TARGET_ARCH"; then
|
||||||
NPW_USE_XSHM="no"
|
NPW_USE_XSHM="no"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
arm)
|
||||||
|
if test "$ARCH" = "arm"; then
|
||||||
|
case "$OS" in
|
||||||
|
linux)
|
||||||
|
LOADER=`which linux32`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
LOADER=`which qemu-arm`
|
||||||
|
NPW_USE_XSHM="no"
|
||||||
|
fi
|
||||||
esac
|
esac
|
||||||
if test "$LOADER" = "none"; then
|
if test "$LOADER" = "none"; then
|
||||||
unset LOADER
|
unset LOADER
|
||||||
|
|
Loading…
Reference in New Issue