aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vellemans Noel <noel.vellemans@visionbms.com>2012-11-17 12:24:01 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2012-11-17 23:41:45 +0100
commit517e5395a187d9c6b7dc322ee15f7b75f5ffe7fc (patch)
tree0e5cca22daba13a9e691fab2b8eaa7c465425a92
parente445f54bc74ea762a2444cf92be0864e639027a3 (diff)
downloadbuildroot-517e5395a187d9c6b7dc322ee15f7b75f5ffe7fc.tar.gz
buildroot-517e5395a187d9c6b7dc322ee15f7b75f5ffe7fc.tar.bz2
mesa3d: requires host-libxml2 and host-python to generate some files
mesa3d now generates some C files at build time (related to the OpenGL API) from XML files. This generation process is done using Python scripts that require the libxml2 Python module. Patch based on the initial work of Will Wagner (Thanks Will). Signed-off-by: Vellemans Noel <noel.vellemans@visionbms.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/x11r7/mesa3d/Config.in1
-rw-r--r--package/x11r7/mesa3d/mesa3d.mk4
2 files changed, 4 insertions, 1 deletions
diff --git a/package/x11r7/mesa3d/Config.in b/package/x11r7/mesa3d/Config.in
index 47ded29002..e5b426eaff 100644
--- a/package/x11r7/mesa3d/Config.in
+++ b/package/x11r7/mesa3d/Config.in
@@ -7,6 +7,7 @@ config BR2_PACKAGE_MESA3D
select BR2_PACKAGE_XPROTO_DRI2PROTO
select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_EXPAT
+ select BR2_PACKAGE_HOST_LIBXML2_PYTHON
depends on BR2_PACKAGE_XSERVER_xorg
depends on BR2_INSTALL_LIBSTDCPP
help
diff --git a/package/x11r7/mesa3d/mesa3d.mk b/package/x11r7/mesa3d/mesa3d.mk
index 8d311e1e93..b16d5e6c16 100644
--- a/package/x11r7/mesa3d/mesa3d.mk
+++ b/package/x11r7/mesa3d/mesa3d.mk
@@ -28,6 +28,8 @@ MESA3D_DEPENDENCIES = \
xproto_dri2proto \
libdrm \
expat \
- host-xutil_makedepend
+ host-xutil_makedepend \
+ host-libxml2 \
+ host-python
$(eval $(autotools-package))