# lets see what root is:
root=""
-if [ "$hdw_crossbuild" != "0" -a "$hdw_status" -lt "2" ] ; then
+if [ "$hdw_crossbuild" != "0" -o "$hdw_status" -lt "2" ] ; then
# check for properly configured build directory
if [ -z "$hdw_build_dir" ] ; then
echo "please set hdw_build_dir in ./Config!"
hdw_cflags="-mcpu=${hdw_arch_opt}"
fi
hdw_arch_build=${hdw_arch_build//ppc/powerpc} ;;
+ ppc64)
+ hdw_arch_target="powerpc64-unknown-linux-gnu"
+ if [ -z "$hdw_arch_opt" ] ; then
+ hdw_cflags="-mcpu=common"
+ else
+ hdw_cflags="-mcpu=${hdw_arch_opt}"
+ fi
+ hdw_arch_build=${hdw_arch_build//ppc64/powerpc64} ;;
mips) hdw_arch_target="mips-unknown-linux-gnu"
if [ -z "$hdw_arch_opt" ] ; then
echo "info: no optimization set"
hdw_arch_prefix="$hdw_arch_host-"
# print decissions for debugging ...
+echo "root variable set to '$root'"
echo "hdw_arch_target variable set to $hdw_arch_target"
echo "hdw_arch_build variable set to $hdw_arch_build"
echo "hdw_arch_host variable ste to $hdw_arch_host"