aboutsummaryrefslogtreecommitdiffstats
path: root/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
blob: 7fc351b0af2cd4ce2dbf9856407313c176e6c883 (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
# Copyright (C) 2011-2015 O.S. Systems Software LTDA.
# Copyright (C) 2011, 2012 Freescale
# Released under the MIT license (see COPYING.MIT for the terms)

DESCRIPTION = "GPU driver and apps for x11 on mx51"
PR = "r12"

# FIXME: Replace for correct AMD license
LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802"
DEPENDS = "virtual/libx11 libxrender libxext"

include amd-gpu-mx51.inc

SRC_URI[md5sum] = "54391a4e670b597d06d01253fb217cad"
SRC_URI[sha256sum] = "c7a6fa03b7aa2a375556c59908876554ba720c1e744baba2debb84a408f790db"

RCONFLICTS_${PN} = "amd-gpu-bin-mx51"

COMPATIBLE_MACHINE = "${@base_contains('DISTRO_FEATURES', 'x11', '(mx5)', 'Invalid!', d)}"

do_install_append() {
    # eglplatform_1.4.h contains X11 compatible headers
    rm ${D}${includedir}/EGL/eglplatform.h
    mv ${D}${includedir}/EGL/eglplatform_1.4.h ${D}${includedir}/EGL/eglplatform.h
}