From 7127fc41d30749632c7d65ca57c48300f3b2f80f Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Thu, 15 Oct 2015 16:24:20 +0000 Subject: Add GENIVI Demo Platform support (strata/systems/cluster) Change-Id: I1d8b72d19ffafcccdea0436ee7f5283acbc6f535 --- strata/weston-genivi/weston-gdp.morph | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 strata/weston-genivi/weston-gdp.morph (limited to 'strata/weston-genivi/weston-gdp.morph') diff --git a/strata/weston-genivi/weston-gdp.morph b/strata/weston-genivi/weston-gdp.morph new file mode 100644 index 00000000..17c38d5a --- /dev/null +++ b/strata/weston-genivi/weston-gdp.morph @@ -0,0 +1,42 @@ +name: weston-gdp +kind: chunk +description: weston compositor +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 \ + --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/" +- sed -i 's/hmi-controller.so/ivi-controller.so/' ivi-shell/weston.ini +- install -d "$DESTDIR/etc/xdg/weston" +- install -m 0644 ivi-shell/weston.ini "$DESTDIR/etc/xdg/weston/weston.ini" +- mkdir -p "$DESTDIR/lib/systemd/system/multi-user.target.wants/" +- | + cat > "$DESTDIR/lib/systemd/system/weston.service" <