2008-09-22 13:33:19 +00:00
|
|
|
include mesa-common.inc
|
2011-10-13 07:57:28 +00:00
|
|
|
include mesa-${PV}.inc
|
2008-09-22 13:33:19 +00:00
|
|
|
|
2011-10-13 08:04:56 +00:00
|
|
|
PROTO_DEPS += "dri2proto"
|
|
|
|
LIB_DEPS += "libdrm expat"
|
2008-09-22 13:33:19 +00:00
|
|
|
|
2011-10-13 07:49:47 +00:00
|
|
|
PR = "${INC_PR}.0"
|
2010-07-07 09:28:11 +00:00
|
|
|
|
2008-09-23 16:42:13 +00:00
|
|
|
# most of our targets do not have DRI so will use mesa-xlib
|
|
|
|
DEFAULT_PREFERENCE = "-1"
|
|
|
|
|
2010-07-07 09:28:11 +00:00
|
|
|
LEAD_SONAME = "libGL.so.1"
|
2008-09-22 13:33:19 +00:00
|
|
|
|
2011-10-12 21:51:33 +00:00
|
|
|
EXTRA_OECONF += "--with-driver=dri --disable-egl -with-dri-drivers=swrast,i915,i965 --without-gallium-drivers"
|
2008-09-22 13:33:19 +00:00
|
|
|
|
2008-10-29 17:35:45 +00:00
|
|
|
python populate_packages_prepend() {
|
|
|
|
import os.path
|
|
|
|
|
|
|
|
dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri")
|
|
|
|
|
|
|
|
do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='')
|
|
|
|
}
|
|
|
|
|
2010-07-26 18:02:11 +00:00
|
|
|
COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
|
2010-07-07 09:28:11 +00:00
|
|
|
|
|
|
|
PACKAGES_DYNAMIC = "mesa-dri-driver-*"
|
|
|
|
|
|
|
|
FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
|