summaryrefslogtreecommitdiff
path: root/strata/weston-genivi/weston.morph
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2015-05-01 14:51:26 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-13 16:45:02 +0000
commit0a1829c287d09cfb76fce5a01e9b8d8ee494ba62 (patch)
treee407fba7ff9530e176d31ad526ece66778e34d7f /strata/weston-genivi/weston.morph
parent0eefa55cdf8e8610ba0f17c091975844fbb3b4d2 (diff)
downloaddefinitions-0a1829c287d09cfb76fce5a01e9b8d8ee494ba62.tar.gz
Use a specific combination of wayland-ivi-extension, weston and libinput
This is necessary because: * genivi-demo-platform-hmi requires features of wayland-ivi-extension which were taken out after version 1.3.91 * It links against an ivi-layout module in weston with an interface that is part of the weston-ivi-shell fork before it was merged with weston, hence it must be a version before weston 1.7. this existed as the branch "weston-ivi-shell-1.6.0-rc1-testing-01" on github/ntanibata/weston-ivi-shell. * libinput 0.7, because 0.8+ changed function signatures that weston uses.
Diffstat (limited to 'strata/weston-genivi/weston.morph')
-rw-r--r--strata/weston-genivi/weston.morph10
1 files changed, 10 insertions, 0 deletions
diff --git a/strata/weston-genivi/weston.morph b/strata/weston-genivi/weston.morph
index 810ce5e9..cb28b715 100644
--- a/strata/weston-genivi/weston.morph
+++ b/strata/weston-genivi/weston.morph
@@ -5,7 +5,17 @@ build-system: autotools
configure-commands:
- autoreconf -ivf
- |
+ cpu=$(echo $TARGET | cut -d '-' -f 1)
+ case "$cpu" in
+ armv7lhf)
+ export WESTON_NATIVE_BACKEND=drm-backend.so
+ ;;
+ *)
+ export WESTON_NATIVE_BACKEND=fbdev-backend.so
+ ;;
+ esac
LDFLAGS='-L/lib64 -lrt' \
+ $
./configure --prefix=$PREFIX --disable-xwayland \
--disable-x11-compositor \
--disable-wayland-compositor --enable-egl \