summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-02 15:24:26 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-03 12:47:53 +0100
commit8d9ec86cbc7cfa006797f231ec85ca0e3114741d (patch)
tree60ddd6fd67e25a59f458e45062ca1a3209a128f4
parentc1d14ecd893c4be9b1e6c1a211a3ff2fe51ef7b1 (diff)
downloaddefinitions-8d9ec86cbc7cfa006797f231ec85ca0e3114741d.tar.gz
Upgrade drm enable jetson TK1 support
-rw-r--r--strata/x-common.morph5
-rw-r--r--strata/x-common/drm.morph10
2 files changed, 13 insertions, 2 deletions
diff --git a/strata/x-common.morph b/strata/x-common.morph
index 987862a9..9acb4bf0 100644
--- a/strata/x-common.morph
+++ b/strata/x-common.morph
@@ -231,9 +231,10 @@ chunks:
build-depends:
- xorg-util-macros
- name: drm
+ morph: strata/x-common/drm.morph
repo: upstream:drm
- ref: d6861609b2b887612d652bb2be7c39f199802937
- unpetrify-ref: libdrm-2.4.56
+ ref: bcac0a17407dc78d0813b2eea7fae7c34de54c1b
+ unpetrify-ref: baserock/jetson/drm
build-depends:
- xcb-pthread-stubs
- xorg-lib-libpciaccess
diff --git a/strata/x-common/drm.morph b/strata/x-common/drm.morph
new file mode 100644
index 00000000..8f5b88e2
--- /dev/null
+++ b/strata/x-common/drm.morph
@@ -0,0 +1,10 @@
+name: drm
+kind: chunk
+build-system: autotools
+configure-commands:
+ - NOCONFIGURE=1 ./autogen.sh
+ - ./configure --prefix="$PREFIX" --enable-tegra-experimental-api
+install-commands:
+ - make install DESTDIR="$DESTDIR"
+ - mkdir -p "$DESTDIR"/usr/lib/pkgconfig
+ - /usr/bin/install -c -m 644 tegra/libdrm_tegra.pc "$DESTDIR"/usr/lib/pkgconfig