summaryrefslogtreecommitdiff
path: root/recipes/dri/glamo-dri-tests_git.bb
blob: 0064af50788e1d42bf9e0e15ddce344e0df4fb15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DEPENDS = "libdrm virtual/libx11 libxext"

SRCREV = "062cc7ef88078815fc2f8d0da3abd80d0514c248"
PV = "1.0.0+gitr${SRCPV}"

SRC_URI = "git://git.bitwiz.org.uk/glamo-dri-tests.git;protocol=git;branch=master"

inherit pkgconfig

do_compile_prepend() {
	export CROSS_CFLAGS="`pkg-config --cflags libdrm_glamo`"
	export CC="${CC} ${LDFLAGS}"
}

do_install() {
        PREFIX=${D}/usr oe_runmake install
}

S = "${WORKDIR}/git"