blob: 14500a3e273d6939a2e468b738e9f082b2b9e529 (
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
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
# tegra2, tegra3
# we use binary only EGL, GL ES1, GL ES2 drivers (package tdx-nv-binaries)
# adapted from meta-fsl-arm/recipes-graphics/mesa/
PACKAGECONFIG_remove_tegra = "egl gles"
PROVIDES_remove_tegra = "virtual/libgles1 virtual/libgles2 virtual/egl"
PACKAGE_ARCH_tegra = "${MACHINE_ARCH}"
#####
# tegra tk1
DEPENDS_REMOVE = "linux-driver-package"
DEPENDS_REMOVE_tegra124 = ""
DEPENDS_remove = "${DEPENDS_REMOVE}"
SRC_URI_append_tegra124 = " file://tegra-path-add.patch"
PACKAGE_ARCH_tegra124 = "${MACHINE_ARCH}"
# until meta-jetson-tk1 adds it through its bbappend:
DEPENDS_append_tegra124= " linux-driver-package "
#####
## Tegra TK1 mainline kernel
PACKAGECONFIG_append_tegra124m = " dri3 egl gles gallium gbm "
EXTRA_OECONF_append_tegra124m = " --enable-texture-float --without-dri-drivers --enable-glx --enable-osmesa --enable-debug"
DRIDRIVERS_tegra124m = " "
GALLIUMDRIVERS_tegra124m = "tegra"
SRC_URI_append_tegra124m = " \
file://0001-gallium-add-tegra-support.patch \
file://0002-make-DRI-work-under-X.patch \
file://0003-loader-Automatic-PRIME-detection.patch \
file://0004-mesa-17.1.7-compilation-fixes.patch \
"
PACKAGE_ARCH_tegra124m = "${MACHINE_ARCH}"
PE_tegra124m = "99"
|