diff options
Diffstat (limited to 'strata/weston-genivi/weston.morph')
-rw-r--r-- | strata/weston-genivi/weston.morph | 10 |
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 \ |