Fixes für V962
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4745 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
6b81936002
commit
5be0c6cb49
@ -106,7 +106,6 @@
|
||||
0 network/ethtool
|
||||
0 tools/texi2roff
|
||||
0 tools/mgetty
|
||||
|
||||
#keine Neue Version, Nich mehr kompilierbar - überflüssig ??
|
||||
#0 tools/isapnptools
|
||||
0 tools/autofs
|
||||
@ -117,7 +116,10 @@
|
||||
0 tools/bc
|
||||
0 tools/a2ps
|
||||
0 tools/binfmt_misc
|
||||
|
||||
0 tools/wget
|
||||
0 tools/pciutils
|
||||
|
||||
0 tools/psutils
|
||||
0 tools/hdparm
|
||||
0 tools/cdrtools
|
||||
@ -154,7 +156,6 @@
|
||||
0 tools/pine
|
||||
0 tools/speex
|
||||
0 tools/openh323
|
||||
0 tools/wget
|
||||
0 tools/wpa_supplicant
|
||||
0 tools/bind
|
||||
0 tools/privoxy
|
||||
|
@ -71,7 +71,7 @@
|
||||
#
|
||||
|
||||
#Pfad zu Basis Source Tree eintragen!
|
||||
SRCPATH=Tools/Net
|
||||
SRCPATH=Network/Clients
|
||||
|
||||
#Funktion wird nach dem Entpacken der Sourcen, im Tree der Sourcen
|
||||
#ausgeführt (sprich unpack src; cd src; premk)
|
@ -77,34 +77,42 @@ SRCPATH=Tools/Utilities
|
||||
#Hier kann z.B. das Makefile gepatcht werden (SED lässt grüssen
|
||||
|
||||
premk() {
|
||||
echo "Nothing to do for Premk()"
|
||||
if [ "$MK64BIT" == "true" ]; then
|
||||
(find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&64/"
|
||||
fi
|
||||
}
|
||||
|
||||
#Hier wird der Make Prozess der Sourcen definiert
|
||||
mk() {
|
||||
if [ "$MK64BIT" == "true" ]; then
|
||||
COPTS="-m64"
|
||||
fi
|
||||
sed -e "s/#include <scsi\/scsi.h>/#define SCSI_IOCTL_GET_IDLUN 0x5382/"\
|
||||
libscg/scsi-linux-sg.c >/tmp/scsi-linux-sg.c
|
||||
mv /tmp/scsi-linux-sg.c libscg/scsi-linux-sg.c
|
||||
K_ARCH=`echo $TARGET|awk -F"-" '{print $1}'`
|
||||
if [ "$K_ARCH" == "athlon" ] || [ "$K_ARCH" == "athlon_xp" ]; then
|
||||
K_ARCH=i686
|
||||
K_ARCH=i686
|
||||
fi
|
||||
PARCH=$K_ARCH
|
||||
make -j $NUMCPU K_ARCH=$K_ARCH \
|
||||
PARCH=$PARCH \
|
||||
C_ARCH=gcc \
|
||||
CC="/opt/gcc-3/bin/gcc $COPTS" \
|
||||
INS_BASE=$TMPROOT/usr install
|
||||
PARCH=$K_ARCH
|
||||
make K_ARCH=$K_ARCH \
|
||||
PARCH=$PARCH \
|
||||
CCOM="gcc" \
|
||||
COPTX="${BUILDOPTIONS}" \
|
||||
LDOPTX="${BUILDOPTIONS}" \
|
||||
INS_BASE=/usr \
|
||||
DEFINSUSR=root \
|
||||
DEFINSGRP=cdwrite
|
||||
make K_ARCH=$K_ARCH \
|
||||
PARCH=$PARCH \
|
||||
CCOM="gcc" \
|
||||
COPTX="${BUILDOPTIONS}" \
|
||||
LDOPTX="${BUILDOPTIONS}" \
|
||||
INS_BASE=$TMPROOT/usr \
|
||||
DEFINSUSR=root \
|
||||
DEFINSGRP=root install &&
|
||||
install -v -d $TMPROOT/usr/share/doc/cdrtools-2.01 &&
|
||||
install -v -D -m644 README* ABOUT doc/*.ps $TMPROOT/usr/share/doc/cdrtools-2.01
|
||||
}
|
||||
|
||||
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
||||
#in $TMPROOT noch einiges korrigieren
|
||||
postmk() {
|
||||
cd $TMPROOT/usr/bin
|
||||
chown root:cdwrite cdrecord mkisofs readcd cdda2wav
|
||||
chmod 4750 cdrecord mkisofs readcd cdda2wav
|
||||
mkdir -p $TMPROOT/usr/share
|
||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
||||
|
0
SysBuild/tools/cmake
Normal file
0
SysBuild/tools/cmake
Normal file
@ -84,6 +84,7 @@ mk32() {
|
||||
make -j $NUMCPU
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||
make distclean
|
||||
mv $TMPROOT/usr/bin/gsl-config{,-32}
|
||||
}
|
||||
|
||||
mk() {
|
||||
@ -102,4 +103,8 @@ mk() {
|
||||
|
||||
postmk() {
|
||||
echo "Nothing to do for postmk()"
|
||||
if [ "$MK64BIT" == "true" ]; then
|
||||
mv $TMPROOT/usr/bin/gsl-config{,-64}
|
||||
ln -s multiarch_wrapper $TMPROOT/usr/bin/gsl-config
|
||||
fi
|
||||
}
|
||||
|
@ -96,6 +96,6 @@ postmk() {
|
||||
mkdir -p $TMPROOT/usr/share
|
||||
mkdir -p $TMPROOT/usr/local/share
|
||||
cd $TMPROOT/usr/local/share
|
||||
ln -s ../../share/pci.ids .
|
||||
ln -s ../../share/pci.ids.gz .
|
||||
mv $TMPROOT/usr/man $TMPROOT/usr/share
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user