libdrm: simplify package.mk

This commit is contained in:
Stephan Raue 2014-10-14 22:49:12 +03:00
parent a93911fbea
commit 99b4a9547f

View File

@ -32,12 +32,6 @@ PKG_LONGDESC="The userspace interface library to kernel DRM services."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
configure_target() {
# overwrite default configure_target() to support $(kernel_path)
export LIBUDEV_CFLAGS="-I`ls -d $ROOT/$BUILD/udev*`"
export LIBUDEV_LIBS="-I`ls -d $ROOT/$BUILD/udev*`"
get_graphicdrivers
DRM_CONFIG="--disable-libkms --disable-intel --disable-radeon"
@ -57,17 +51,10 @@ configure_target() {
DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-nouveau/enable-nouveau/'`
done
../configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--enable-shared \
--disable-udev \
PKG_CONFIGURE_OPTS_TARGET="--disable-udev \
--enable-largefile \
--with-kernel-source=$(kernel_path) \
$DRM_CONFIG \
--disable-install-test-programs \
--disable-cairo-tests \
--disable-manpages
}
--disable-manpages"