summaryrefslogtreecommitdiff
path: root/strata
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-15 16:22:34 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-15 16:33:56 +0000
commit5b20f758549ff165d214b67a3d476fcda6db1c1e (patch)
treecdb1e2892b0bfd881a63de27086389e0b29c17c9 /strata
parent44008dcc5ffdba69d9581803b506252d7c08ab16 (diff)
downloaddefinitions-5b20f758549ff165d214b67a3d476fcda6db1c1e.tar.gz
Set default WESTON_NATIVE_BACKEND for genivi weston
Change-Id: Iefa6aaa78a111aac5594912d2366bf0f9e28ea87
Diffstat (limited to 'strata')
-rw-r--r--strata/weston-genivi/weston.morph9
1 files changed, 9 insertions, 0 deletions
diff --git a/strata/weston-genivi/weston.morph b/strata/weston-genivi/weston.morph
index 810ce5e9..71704948 100644
--- a/strata/weston-genivi/weston.morph
+++ b/strata/weston-genivi/weston.morph
@@ -5,6 +5,15 @@ 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 \