1 ################################################################################
5 ################################################################################
7 LIBDRM_VERSION
= 2.4.67
8 LIBDRM_SOURCE
= libdrm-
$(LIBDRM_VERSION
).
tar.bz2
9 LIBDRM_SITE
= http
://dri.freedesktop.org
/libdrm
12 LIBDRM_INSTALL_STAGING
= YES
14 LIBDRM_DEPENDENCIES
= \
19 --disable-cairo-tests \
22 LIBDRM_CONF_ENV
= ac_cv_prog_cc_c99
='-std=gnu99'
24 ifeq ($(BR2_PACKAGE_LIBDRM_INTEL
),y
)
25 LIBDRM_CONF_OPTS
+= --enable-intel
26 LIBDRM_DEPENDENCIES
+= libatomic_ops libpciaccess
28 LIBDRM_CONF_OPTS
+= --disable-intel
31 ifeq ($(BR2_PACKAGE_LIBDRM_RADEON
),y
)
32 LIBDRM_CONF_OPTS
+= --enable-radeon
34 LIBDRM_CONF_OPTS
+= --disable-radeon
37 ifeq ($(BR2_PACKAGE_LIBDRM_AMDGPU
),y
)
38 LIBDRM_CONF_OPTS
+= --enable-amdgpu
40 LIBDRM_CONF_OPTS
+= --disable-amdgpu
43 ifeq ($(BR2_PACKAGE_LIBDRM_NOUVEAU
),y
)
44 LIBDRM_CONF_OPTS
+= --enable-nouveau
46 LIBDRM_CONF_OPTS
+= --disable-nouveau
49 ifeq ($(BR2_PACKAGE_LIBDRM_VMWGFX
),y
)
50 LIBDRM_CONF_OPTS
+= --enable-vmwgfx
52 LIBDRM_CONF_OPTS
+= --disable-vmwgfx
55 ifeq ($(BR2_PACKAGE_LIBDRM_OMAP
),y
)
56 LIBDRM_CONF_OPTS
+= --enable-omap-experimental-api
58 LIBDRM_CONF_OPTS
+= --disable-omap-experimental-api
61 ifeq ($(BR2_PACKAGE_LIBDRM_EXYNOS
),y
)
62 LIBDRM_CONF_OPTS
+= --enable-exynos-experimental-api
64 LIBDRM_CONF_OPTS
+= --disable-exynos-experimental-api
67 ifeq ($(BR2_PACKAGE_LIBDRM_FREEDRENO
),y
)
68 LIBDRM_CONF_OPTS
+= --enable-freedreno
70 LIBDRM_CONF_OPTS
+= --disable-freedreno
73 ifeq ($(BR2_PACKAGE_LIBDRM_TEGRA
),y
)
74 LIBDRM_CONF_OPTS
+= --enable-tegra-experimental-api
76 LIBDRM_CONF_OPTS
+= --disable-tegra-experimental-api
79 ifeq ($(BR2_PACKAGE_HAS_UDEV
),y
)
80 LIBDRM_CONF_OPTS
+= --enable-udev
81 LIBDRM_DEPENDENCIES
+= udev
83 LIBDRM_CONF_OPTS
+= --disable-udev
86 ifeq ($(BR2_PACKAGE_VALGRIND
),y
)
87 LIBDRM_CONF_OPTS
+= --enable-valgrind
88 LIBDRM_DEPENDENCIES
+= valgrind
90 LIBDRM_CONF_OPTS
+= --disable-valgrind
93 ifeq ($(BR2_PACKAGE_LIBDRM_INSTALL_TESTS
),y
)
94 LIBDRM_CONF_OPTS
+= --enable-install-test-programs
97 $(eval
$(autotools-package
))