aboutsummaryrefslogtreecommitdiff
path: root/recipes/xorg-driver/xf86-video-msm_git.bb
blob: 43e4ac4e920f054371ebe46b1d7c9fea44a4b16b (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
require xorg-driver-video.inc
DESCRIPTION = "X.Org X server -- MSM display driver"
PE = "1"
PV = "1.1.0+${PR}+gitr${SRCREV}"
PR = "${INC_PR}.0"

SRC_URI = "git://codeaurora.org/quic/xwin/xf86-video-msm.git;protocol=git;branch=chromium \
           file://compile_cfbbd17f0d4ab0f30915594d74e1b2b12c4ff8a1.patch \
           file://kgsl_drm.h "
SRC_URI_append_htcdream = "file://no_neon_cfbbd17f0d4ab0f30915594d74e1b2b12c4ff8a1.patch"

SRCREV = "cfbbd17f0d4ab0f30915594d74e1b2b12c4ff8a1"
S = "${WORKDIR}/git"

do_compile_prepend() {
        install -d ${S}/src/linux
        install -d ${S}/src/drm
        install -m 0644 ${STAGING_KERNEL_DIR}/include/linux/msm_mdp.h ${S}/src/linux/
        install -m 0644 ${WORKDIR}/kgsl_drm.h ${S}/src/drm/
}

PACKAGE_ARCH = "${MACHINE_ARCH}"

ARM_INSTRUCTION_SET = "arm"

CFLAGS += " -I${STAGING_INCDIR}/xorg "
CFLAGS += " -Wno-error "