Anpassung an neue Version (-ng).
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4518 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
1586d24855
commit
5b36eef591
@ -69,27 +69,27 @@
|
|||||||
SRCPATH=Base/System
|
SRCPATH=Base/System
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
sed -e "s/^HAVE_SLN=no/HAVE_SLN=yes/" MCONFIG| \
|
|
||||||
sed -e "s/^HAVE_TSORT=no/HAVE_TSORT=yes/"| \
|
|
||||||
sed -e "s/^HAVE_PAM=no/HAVE_PAM=yes/"| \
|
|
||||||
sed -e "s/^# ADD_RAW=yes/ADD_RAW=yes/"|
|
|
||||||
sed -e "s%USRGAMES_DIR= /usr/gamesr%USRGAMES_DIR= /usr/bin%"|
|
|
||||||
sed -e "s/-O2 -m486/$CFLAGS/" >MCONFIG2
|
|
||||||
mv MCONFIG2 MCONFIG
|
|
||||||
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' hwclock/hwclock.c >/tmp/hwclock.c
|
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' hwclock/hwclock.c >/tmp/hwclock.c
|
||||||
mv /tmp/hwclock.c hwclock/hwclock.c
|
mv /tmp/hwclock.c hwclock/hwclock.c
|
||||||
sed -e 's%#include <linux/tqueue.h>%//#include <linux/tqueue.h>%' sys-utils/cytune.c >/tmp/cytune.c
|
#sed -e 's%#include <linux/tqueue.h>%//#include <linux/tqueue.h>%' sys-utils/cytune.c >/tmp/cytune.c
|
||||||
mv /tmp/cytune.c sys-utils/cytune.c
|
#mv /tmp/cytune.c sys-utils/cytune.c
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
|
if [ ${MK64BIT} == "true" ]; then
|
||||||
|
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
||||||
|
fi
|
||||||
CC="gcc ${BUILDOPTIONS}" \
|
CC="gcc ${BUILDOPTIONS}" \
|
||||||
./configure --host=$TARGET
|
./configure --host=$TARGET \
|
||||||
|
$ADDOPTIONS \
|
||||||
|
--enable-partx \
|
||||||
|
--disable-wall \
|
||||||
|
--enable-write
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
cd sys-utils
|
cd sys-utils
|
||||||
make rdev
|
make rdev
|
||||||
make ARCH=intel DESTDIR=$TMPROOT install
|
cp rdev $TMPROOT/usr/sbin
|
||||||
cd -
|
cd -
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user