Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
8b6eb20e0a
1 changed files with 8 additions and 4 deletions
  1. +8
    -4
      package/base/dietlibc/dietlibc.conf

+ 8
- 4
package/base/dietlibc/dietlibc.conf

@ -52,8 +52,8 @@ EOT
# dietlibc uses uname - so we always need to set MYARCH # dietlibc uses uname - so we always need to set MYARCH
eval "$MAKE MYARCH=$cpu $makeopt CC='$CC --specs=specs'" eval "$MAKE MYARCH=$cpu $makeopt CC='$CC --specs=specs'"
if [ $toolsdir = tools.cross ] ; then if [ $toolsdir = tools.cross ] ; then
cp -v bin-*/diet-i $toolsbin/diet || true
cp -v bin-*/diet-dyn-i $toolsbin/diet-dyn || true
cp -v `ls bin-*/diet-i | head -n 1` $toolsbin/diet || true
cp -v `ls bin-*/diet-dyn-i | head -n 1` $toolsbin/diet-dyn || true
fi fi
eval "$MAKE MYARCH=$cpu $makeinstopt CC='$CC --specs=specs'" eval "$MAKE MYARCH=$cpu $makeinstopt CC='$CC --specs=specs'"
@ -62,8 +62,8 @@ EOT
eval "$MAKE $makeopt CC=$HOSTCC" eval "$MAKE $makeopt CC=$HOSTCC"
if [ $toolsdir = tools.cross ] ; then if [ $toolsdir = tools.cross ] ; then
cp -v bin-*/diet-i $toolsbin/diet || true
cp -v bin-*/diet-dyn-i $toolsbin/diet-dyn || true
cp -v `ls bin-*/diet-i | head -n 1` $toolsbin/diet || true
cp -v `ls bin-*/diet-dyn-i | head -n 1` $toolsbin/diet-dyn || true
fi fi
# in the dietlibc Makefile, $CROSS is prepended to $CC # in the dietlibc Makefile, $CROSS is prepended to $CC
@ -75,6 +75,10 @@ EOT
rm -vf $root/$prefix/dietlibc/lib-powerpc rm -vf $root/$prefix/dietlibc/lib-powerpc
ln -vs lib-ppc $root/$prefix/dietlibc/lib-powerpc ln -vs lib-ppc $root/$prefix/dietlibc/lib-powerpc
fi fi
if [ -d $root/$prefix/bin/lib-ppc ] ; then
rmdir $root/$prefix/bin/lib-ppc
fi
} }
if [ "$prefix" = "usr" -o "$prefix" = "usr/local" ] ; then if [ "$prefix" = "usr" -o "$prefix" = "usr/local" ] ; then

Loading…
Cancel
Save