Module sind nicht mehr in libdrm enthalten -> linuxkernel bringt sie mit.
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4678 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
20e2986661
commit
844f009be3
@ -75,21 +75,27 @@ premk() {
|
||||
echo "Nothing to do for premk()"
|
||||
ln -s automake /usr/bin/automake-1.9
|
||||
unset ACLOCAL
|
||||
mkdir ../build-libdrm
|
||||
cd ../build-libdrm
|
||||
}
|
||||
|
||||
mk32() {
|
||||
CC="gcc $BUILDOPTIONS32" \
|
||||
CXX="gcc $BUILDOPTIONS32" \
|
||||
USE_ARCH=$UARCH \
|
||||
./configure --host=$TARGET32 \
|
||||
../libdrm*/configure --host=$TARGET32 \
|
||||
--build=$TARGET32 \
|
||||
--localstatedir=/var \
|
||||
--infodir=/usr/share/info \
|
||||
--mandir=/usr/share/man \
|
||||
--enable-udev \
|
||||
--prefix=/usr/X11R7
|
||||
make -j $NUMCPU
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||
make clean
|
||||
cd ../libdrm*
|
||||
rm -r ../build-libdrm
|
||||
mkdir ../build-libdrm
|
||||
cd ../build-libdrm
|
||||
}
|
||||
|
||||
mk() {
|
||||
@ -99,22 +105,20 @@ mk() {
|
||||
CC="gcc $BUILDOPTIONS" \
|
||||
CXX="gcc $BUILDOPTIONS" \
|
||||
USE_ARCH=$UARCH \
|
||||
./configure --host=$TARGET \
|
||||
../libdrm*/configure --host=$TARGET \
|
||||
--build=$TARGET \
|
||||
--localstatedir=/var \
|
||||
--infodir=/usr/share/info \
|
||||
--mandir=/usr/share/man \
|
||||
$ADDOPTIONS \
|
||||
--enable-udev \
|
||||
--prefix=/usr/X11R7
|
||||
make -j $NUMCPU
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||
cd ../libdrm*
|
||||
rm -r ../build-libdrm
|
||||
}
|
||||
|
||||
postmk() {
|
||||
mkdir -p $TMPROOT/lib/modules/drm/modules
|
||||
cd linux-core
|
||||
tar -cf - .|tar -C $TMPROOT/lib/modules/drm/modules -xvf -
|
||||
cd -
|
||||
tar -cf - shared-core|tar -C $TMPROOT/lib/modules/drm -xvf -
|
||||
tar -cf - scripts|tar -C $TMPROOT/lib/modules/drm -xvf -
|
||||
echo "Nothing to do for postmk()"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user