weston: set default backend for fbdev
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 29 Mar 2016 14:39:01 +0000 (11:39 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Mar 2016 14:58:06 +0000 (16:58 +0200)
When it's enabled set the default weston backend to fbdev, otherwise the
drm backend is the default even though we are not building it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/weston/weston.mk

index e7ad97e10e0fe5ddbc95bf66c9e41930792e2983..5af23dfab4d0d4b8c4b0443f2bd4801b81e5ad3d 100644 (file)
@@ -49,7 +49,9 @@ WESTON_CONF_OPTS += --disable-rdp-compositor
 endif
 
 ifeq ($(BR2_PACKAGE_WESTON_FBDEV),y)
-WESTON_CONF_OPTS += --enable-fbdev-compositor
+WESTON_CONF_OPTS += \
+       --enable-fbdev-compositor \
+       WESTON_NATIVE_BACKEND=fbdev-backend.so
 else
 WESTON_CONF_OPTS += --disable-fbdev-compositor
 endif