projects
/
hdw-linux
/
hdw-linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fai fixes
[hdw-linux/hdw-linux.git]
/
scripts
/
Config
diff --git
a/scripts/Config
b/scripts/Config
index
2804a19
..
9d85cc0
100755
(executable)
--- a/
scripts/Config
+++ b/
scripts/Config
@@
-49,7
+49,7
@@
fi
# lets see what root is:
root=""
# 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!"
# check for properly configured build directory
if [ -z "$hdw_build_dir" ] ; then
echo "please set hdw_build_dir in ./Config!"
@@
-112,6
+112,14
@@
case "$hdw_arch" in
hdw_cflags="-mcpu=${hdw_arch_opt}"
fi
hdw_arch_build=${hdw_arch_build//ppc/powerpc} ;;
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"
mips) hdw_arch_target="mips-unknown-linux-gnu"
if [ -z "$hdw_arch_opt" ] ; then
echo "info: no optimization set"
@@
-136,6
+144,7
@@
hdw_arch_host=${hdw_arch_build}
hdw_arch_prefix="$hdw_arch_host-"
# print decissions for debugging ...
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"
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"