Kleine Anpassungen in den Modulen sorgen nun dafuer, das Viitor V962 auch sich

selber übersetzen kann



git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5481 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2010-03-23 11:06:55 +00:00
parent c19c6dce66
commit fe08ce6c36
5 changed files with 10 additions and 11 deletions

View File

@ -78,8 +78,6 @@ premk() {
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-posix*.patch* SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-posix*.patch*
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-branch_update-*.patch* SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-branch_update-*.patch*
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-genscripts_multilib-*.patch* SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-genscripts_multilib-*.patch*
mkdir ../build-binutils
cd ../build-binutils
} }
mk() { mk() {
@ -100,6 +98,5 @@ mk() {
} }
postmk() { postmk() {
cd ../binutils* echo "Nothing to do for postmk()"
rm -r ../build-binutils
} }

View File

@ -101,6 +101,9 @@ premk() {
if [ ! -f /tmp/crossgcc_stage1 ]; then if [ ! -f /tmp/crossgcc_stage1 ]; then
touch /tools/include/limits.h touch /tools/include/limits.h
fi fi
if [ ! -f /lib/cpp ]; then
ln -sf ../usr/bin/cpp /lib/cpp
fi
mkdir ../build-gcc mkdir ../build-gcc
cd ../build-gcc cd ../build-gcc
} }

View File

@ -100,8 +100,10 @@ mk32() {
--with-binutils=/cross-tools/bin \ --with-binutils=/cross-tools/bin \
--with-headers=/tools/include \ --with-headers=/tools/include \
--cache-file=config.cache --cache-file=config.cache
sed -i "s/\(^MAKEINFO = makeinfo\)/\1 --force/" config.make
make -j $NUMCPU make -j $NUMCPU
make -j $NUMCPU install make -j $NUMCPU install
make install
cd ../glibc* cd ../glibc*
rm -r ../build-glibc/ rm -r ../build-glibc/
mkdir ../build-glibc mkdir ../build-glibc
@ -136,8 +138,10 @@ mk() {
--with-binutils=/cross-tools/bin \ --with-binutils=/cross-tools/bin \
--with-headers=/tools/include \ --with-headers=/tools/include \
--cache-file=config.cache --cache-file=config.cache
sed -i "s/\(^MAKEINFO = makeinfo\)/\1 --force/" config.make
make -j $NUMCPU make -j $NUMCPU
make -j $NUMCPU install make -j $NUMCPU install
make install
} }
postmk() { postmk() {

View File

@ -90,8 +90,6 @@ premk() {
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-branch_update-*.patch* SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-branch_update-*.patch*
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-genscripts_multilib-*.patch* SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-genscripts_multilib-*.patch*
mkdir ../build-binutils
cd ../build-binutils
} }
mk() { mk() {
@ -116,6 +114,5 @@ mk() {
} }
postmk() { postmk() {
cd ../binutils* echo "Nothing to do for premk()"
rm -r ../build-binutils
} }

View File

@ -85,9 +85,7 @@ SRCPATH=Base/Lib
(( MKPKG = $MKPKG | 8 )) (( MKPKG = $MKPKG | 8 ))
(( MKPKG = $MKPKG | 16 )) (( MKPKG = $MKPKG | 16 ))
if [ "$MK64BIT" == "true" ]; then (( MKPKG = $MKPKG | 128 ))
(( MKPKG = $MKPKG | 128 ))
fi
premk() { premk() {
echo "nothing to do for premk()" echo "nothing to do for premk()"