Make vorschlaege von bclfs eingearbeitet. Build für 32 und 64 Bit aktiviert
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4630 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
011cd7630c
commit
a6ee535397
@ -83,20 +83,34 @@ SRCPATH=Tools/System
|
||||
|
||||
|
||||
premk() {
|
||||
echo "Nothing to do for premk()"
|
||||
CheckError "premk() failed !" 1
|
||||
mkdir ../Build-pkgconfig
|
||||
cd ../Build-pkgconfig
|
||||
}
|
||||
|
||||
mk32() {
|
||||
../pkgconfig*/configure --build=$TARGET \
|
||||
--target=$TARGET \
|
||||
--prefix=/usr
|
||||
USE_ARCH=32 CC="gcc ${BUILDOPTIONS32}" ./configure --prefix=/usr --with-pc-path=/usr/share/pkgconfig &&
|
||||
make -j $NUMCPU
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||
cd ../pkgconfig*
|
||||
rm -r ../Build-pkgconfig
|
||||
mkdir ../Build-pkgconfig
|
||||
cd ../Build-pkgconfig
|
||||
}
|
||||
|
||||
mk() {
|
||||
# Hier die ./configure --build=$HOSTSYS --target=$HOSTSYS-Optionen eintragen.
|
||||
# Den \ nicht vergessen !
|
||||
./configure --build=$TARGET \
|
||||
--target=$TARGET \
|
||||
--prefix=/usr
|
||||
../pkgconfig*/configure --build=$TARGET \
|
||||
--target=$TARGET \
|
||||
--prefix=/usr
|
||||
|
||||
CheckError "Configurescript failed !" 1
|
||||
|
||||
# Make-Optionen eintragen
|
||||
USE_ARCH=32 CC="gcc ${BUILDOPTIONS}" ./configure --prefix=/usr --with-pc-path=/usr/share/pkgconfig &&
|
||||
make -j $NUMCPU
|
||||
CheckError "Makeprocess failed !" 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user