Anpassungen an V963, Einarbeitung der neueseten CLFS Version
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/ViitorMake@6007 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
91f6353b5a
commit
c3f95c1d1c
|
@ -70,30 +70,22 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
SRCPATH=Base/Utilities
|
SRCPATH=Base/Utilities
|
||||||
(( MKPKG = $MKPKG | 1 ))
|
|
||||||
(( MKPKG = $MKPKG | 2 ))
|
|
||||||
(( MKPKG = $MKPKG | 128 ))
|
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-branch_update-*.patch*
|
|
||||||
SrcPatch $MAKEDIR/binutils* $LFSSOURCE/$SRCPATH/binutils-*-genscripts_multilib-*.patch*
|
|
||||||
mkdir ../build-binutils
|
mkdir ../build-binutils
|
||||||
cd ../build-binutils
|
cd ../build-binutils
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDCONFIGURE="--libdir=/usr/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc -isystem /usr/include ${BUILDOPTIONS}" \
|
CC="gcc -isystem /usr/include ${BUILDOPTIONS}" \
|
||||||
LDFLAGS="-Wl,-rpath-link,/lib64:/lib ${BUILDOPTIONS}" \
|
LDFLAGS="-Wl,-rpath-link,/lib64:/lib ${BUILDOPTIONS}" \
|
||||||
../binutils*/configure --prefix=/usr \
|
../binutils*/configure --prefix=/usr \
|
||||||
$ADDCONFIGURE \
|
--libdir=/usr/${LIBDIR} \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-64-bit-bfd
|
--enable-64-bit-bfd
|
||||||
make -j $NUMCPU configure-host
|
make -j $NUMCPU configure-host
|
||||||
make -j $NUMCPU tooldir=/usr
|
make -j $NUMCPU tooldir=/usr
|
||||||
MakeCheck check
|
MakeCheck -j $NUMCPU check
|
||||||
make -j $NUMCPU tooldir=/usr DESTDIR=$TMPROOT install
|
make -j $NUMCPU tooldir=/usr DESTDIR=$TMPROOT install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user