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
several changes to toolchain packages
[hdw-linux/hdw-linux.git]
/
packages
/
toolchain
/
binutils
/
binutils
diff --git
a/packages/toolchain/binutils/binutils
b/packages/toolchain/binutils/binutils
index
0fa39e2
..
94381d2
100644
(file)
--- a/
packages/toolchain/binutils/binutils
+++ b/
packages/toolchain/binutils/binutils
@@
-9,6
+9,7
@@
if [ "$priority" = "1" ] ; then
confopt="$confopt --disable-nls"
libpath="$prefix/lib"
if [ "$priority" = "1" ] ; then
confopt="$confopt --disable-nls"
libpath="$prefix/lib"
+ echo "libpath = $libpath"
fi
if [ "$priority" = "4" ] ; then
fi
if [ "$priority" = "4" ] ; then
@@
-27,6
+28,11
@@
if [ "$priority" = "4" ] ; then
sed -e "s@/lib/ld.so.1@$prefix/lib/ld.so.1@g" \
-e "s@/lib/ld-linux.so.2@$prefix/lib/ld-linux.so.2@g" > \
$SPECFILE
sed -e "s@/lib/ld.so.1@$prefix/lib/ld.so.1@g" \
-e "s@/lib/ld-linux.so.2@$prefix/lib/ld-linux.so.2@g" > \
$SPECFILE
+ echo "debug: (specfile ->$SPECFILE)"
+ cp -v $SPECFILE $hdw_home_dir
+ cat $SPECFILE
+ echo "debug: (gcc -dumpspecs)"
+ gcc -dumpspecs
INCDIR="`dirname $SPECFILE`/include"
unset SPECFILE
INCDIR="`dirname $SPECFILE`/include"
unset SPECFILE
@@
-43,7
+49,7
@@
if [ "$priority" = "5" ] ; then
if [ "$hdw_crossbuild" = "0" ] ; then
libpath="/usr/lib:/lib"
else
if [ "$hdw_crossbuild" = "0" ] ; then
libpath="/usr/lib:/lib"
else
- libpath="$
prefix/usr/lib:$prefix
/lib"
+ libpath="$
root/usr/lib:$root
/lib"
fi
fi
fi
fi