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

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

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"