summaryrefslogtreecommitdiff
path: root/strata/weston-genivi
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2014-09-15 14:06:56 +0000
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2014-09-15 14:06:56 +0000
commit2fabcf542369db5c3d77c0dfd194c2fe0e0cd4ea (patch)
tree6878f517a11c05a6a50887c9fe108cfc83870751 /strata/weston-genivi
parentcf770f5d4f6473fe127eb53d98daa3aca51d530b (diff)
downloaddefinitions-2fabcf542369db5c3d77c0dfd194c2fe0e0cd4ea.tar.gz
Bring systems up-to-scratch closer to what James and Sam had before
Diffstat (limited to 'strata/weston-genivi')
-rw-r--r--strata/weston-genivi/wayland-ivi-extension.morph9
-rw-r--r--strata/weston-genivi/weston.morph9
2 files changed, 16 insertions, 2 deletions
diff --git a/strata/weston-genivi/wayland-ivi-extension.morph b/strata/weston-genivi/wayland-ivi-extension.morph
new file mode 100644
index 00000000..14d5d1f8
--- /dev/null
+++ b/strata/weston-genivi/wayland-ivi-extension.morph
@@ -0,0 +1,9 @@
+name: wayland-ivi-extension
+kind: chunk
+configure-commands:
+- cmake -DCMAKE_INSTALL_PREFIX=$PREFIX
+build-commands:
+- make
+install-commands:
+- make install DESTDIR=$DESTDIR
+
diff --git a/strata/weston-genivi/weston.morph b/strata/weston-genivi/weston.morph
index 892adfb4..e4d8a260 100644
--- a/strata/weston-genivi/weston.morph
+++ b/strata/weston-genivi/weston.morph
@@ -5,11 +5,16 @@ build-system: autotools
configure-commands:
- autoreconf -ivf
- |
+ if test "$MORPH_ARCH" = "armv7lhf"; then
+ TEGRA=--enable-libdrm-tegra
+ else
+ TEGRA=
+ fi
LDFLAGS='-L/lib64 -lrt' \
./configure --prefix=$PREFIX --with-cairo-glesv2 --disable-xwayland \
- --disable-x11-compositor \
+ --disable-x11-compositor $TEGRA \
--disable-wayland-compositor --enable-egl \
- --enable-clients --enable-demo-clients-install --enable-fbdev-compositor
+ --enable-clients --enable-demo-clients-install --enable-fbdev-compositor
post-install-commands:
- install -d "$DESTDIR/usr/share/weston"
- install -m 0644 data/*.png "$DESTDIR/usr/share/weston/"