summaryrefslogtreecommitdiffstats
path: root/rules/host-mesalib.make
blob: 3a1e16a7d6f5c42189d9ec3f6c37582ba9db9045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# -*-makefile-*-
#
# Copyright (C) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_MESALIB) += host-mesalib

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

HOST_MESALIB_CONF_ENV := \
	$(HOST_ENV) \
	ac_cv_prog_PYTHON2=$(PTXDIST_TOPDIR)/bin/python

HOST_MESALIB_BUILD_OOT	:= YES
HOST_MESALIB_CONF_TOOL	:= autoconf
HOST_MESALIB_CONF_OPT	:= \
	$(HOST_AUTOCONF) \
	--enable-static \
	--disable-shared \
	--disable-pwr8 \
	--disable-debug \
	--disable-profile \
	--disable-sanitize \
	--disable-asm \
	--disable-selinux \
	--disable-llvm-shared-libs \
	--disable-libunwind \
	--enable-opengl \
	--disable-gles1 \
	--disable-gles2 \
	--disable-dri \
	--disable-gallium-extra-hud \
	--disable-lmsensors \
	--disable-dri3 \
	--disable-glx \
	--disable-osmesa \
	--disable-gallium-osmesa \
	--disable-egl \
	--disable-xa \
	--disable-gbm \
	--disable-nine \
	--disable-xvmc \
	--disable-vdpau \
	--disable-omx-tizonia \
	--disable-omx-bellagio \
	--disable-va \
	--disable-opencl \
	--disable-opencl-icd \
	--disable-gallium-tests \
	--disable-libglvnd \
	--disable-mangling \
	--enable-shared-glapi \
	--disable-driglx-direct \
	--disable-glx-tls \
	--disable-llvm-shared-libs \
	--disable-glx-read-only-text \
	--disable-xlib-lease \
	--disable-llvm \
	--disable-valgrind \
	--with-gallium-drivers= \
	--with-dri-drivers= \
	--without-vulkan-drivers \
	--with-platforms=

$(STATEDIR)/host-mesalib.install:
	@$(call targetinfo)
	install -D -m755 $(HOST_MESALIB_DIR)-build/src/compiler/glsl_compiler $(HOST_MESALIB_PKGDIR)/bin/mesa/glsl_compiler
	@$(call touch)

# vim: syntax=make