summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-15 16:24:20 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-16 11:02:12 (GMT)
commit7127fc41d30749632c7d65ca57c48300f3b2f80f (patch)
treef46844d8f978a69fda7850f617fceeea50b57fc8
parent5b20f758549ff165d214b67a3d476fcda6db1c1e (diff)
downloaddefinitions-baserock/release/GENIVI-K1.0.tar.gz
Add GENIVI Demo Platform support (strata/systems/cluster)GENIVI-K1.0baserock/release/GENIVI-K1.0
Change-Id: I1d8b72d19ffafcccdea0436ee7f5283acbc6f535
-rw-r--r--clusters/gdp-jetson-upgrade.morph16
-rw-r--r--strata/genivi-demo-platform-libs.morph25
-rw-r--r--strata/genivi-demo-platform.morph47
-rw-r--r--strata/genivi-demo-platform/audiomanager-poc.morph10
-rw-r--r--strata/genivi-demo-platform/audiomanager@gdp.morph8
-rw-r--r--strata/genivi-demo-platform/automotive-message-broker.morph20
-rw-r--r--strata/genivi-demo-platform/boost.morph8
-rw-r--r--strata/genivi-demo-platform/browser-poc.morph29
-rw-r--r--strata/genivi-demo-platform/dbus-c++.morph9
-rw-r--r--strata/genivi-demo-platform/genivi-demo-platform-hmi.morph149
-rw-r--r--strata/genivi-demo-platform/glibmm.morph6
-rw-r--r--strata/genivi-demo-platform/mm-common.morph7
-rw-r--r--strata/genivi-demo-platform/navit.morph5
-rw-r--r--strata/genivi-demo-platform/sigc++.morph6
-rw-r--r--strata/weston-genivi-gdp.morph21
-rw-r--r--strata/weston-genivi.morph8
-rw-r--r--strata/weston-genivi/weston-gdp.morph42
-rw-r--r--systems/genivi-demo-platform-armv7lhf-jetson.morph67
-rw-r--r--systems/genivi-demo-platform-x86_64-generic.morph67
19 files changed, 546 insertions, 4 deletions
diff --git a/clusters/gdp-jetson-upgrade.morph b/clusters/gdp-jetson-upgrade.morph
new file mode 100644
index 0000000..2147454
--- /dev/null
+++ b/clusters/gdp-jetson-upgrade.morph
@@ -0,0 +1,16 @@
+name: gdp-jetson-upgrade
+kind: cluster
+systems:
+- morph: systems/genivi-demo-platform-armv7lhf-jetson.morph
+ deploy-defaults:
+ BOOT_DEVICE: "/dev/mmcblk0p1"
+ ROOT_DEVICE: "/dev/mmcblk0p2"
+ DTB_PATH: "boot/tegra124-jetson-tk1.dtb"
+ BOOTLOADER_CONFIG_FORMAT: "extlinux"
+ BOOTLOADER_INSTALL: "none"
+ KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 nouveau.pstate=1
+ FSTAB_SRC: LABEL=src /src auto defaults,rw,noatime,nofail 0 2
+ deploy:
+ self:
+ type: extensions/ssh-rsync
+ location: root@127.0.0.1
diff --git a/strata/genivi-demo-platform-libs.morph b/strata/genivi-demo-platform-libs.morph
new file mode 100644
index 0000000..bd308cb
--- /dev/null
+++ b/strata/genivi-demo-platform-libs.morph
@@ -0,0 +1,25 @@
+name: genivi-demo-platform-libs
+kind: stratum
+description: Libraries needed for the GENIVI demo platform.
+build-depends:
+- morph: strata/foundation.morph
+- morph: strata/python-pygobject.morph
+- morph: strata/audio-bluetooth.morph
+chunks:
+- name: boost
+ morph: strata/genivi-demo-platform/boost.morph
+ repo: upstream:boost-tarball
+ ref: ed232fdd34968697a68783b3195b1da4226915b5
+ unpetrify-ref: boost_1_57_0
+ build-depends: []
+- name: dbus-c++
+ morph: strata/genivi-demo-platform/dbus-c++.morph
+ repo: upstream:dbus-c++
+ ref: 8d351eec25430651acbac014e44ec011fac32d57
+ unpetrify-ref: baserock/genivi-demo-platform
+ build-depends: []
+- name: dbus-python
+ repo: upstream:dbus-python
+ ref: d0d5b5be685dc4c16b21c54335becc87ca4d6f58
+ unpetrify-ref: dbus-python-1.2.0
+ build-system: autotools
diff --git a/strata/genivi-demo-platform.morph b/strata/genivi-demo-platform.morph
new file mode 100644
index 0000000..5612a8b
--- /dev/null
+++ b/strata/genivi-demo-platform.morph
@@ -0,0 +1,47 @@
+name: genivi-demo-platform
+kind: stratum
+description: Components which make up the GENIVI demo platform.
+build-depends:
+- morph: strata/genivi-demo-platform-libs.morph
+- morph: strata/qt5-tools.morph
+- morph: strata/qt5-tools-qtmultimedia.morph
+- morph: strata/qt5-tools-qtwebkit.morph
+- morph: strata/genivi.morph
+- morph: strata/wayland-generic.morph
+- morph: strata/weston-genivi-gdp.morph
+chunks:
+- name: browser-poc
+ morph: strata/genivi-demo-platform/browser-poc.morph
+ repo: upstream:genivi/browser-poc
+# ref: f1d02d11d86d53b96c85a2ea03d7cd4736c1c616
+ ref: baserock/jonathanmaw/genivi-demo-platform
+ unpetrify-ref: baserock/jonathanmaw/genivi-demo-platform
+- name: automotive-message-broker
+ morph: strata/genivi-demo-platform/automotive-message-broker.morph
+ repo: upstream:automotive-message-broker
+ ref: 5cac4bd2958ea24ac6913be5baa0dfcda6466089
+ unpetrify-ref: "0.14"
+- name: audiomanager-poc
+ morph: strata/genivi-demo-platform/audiomanager-poc.morph
+ repo: upstream:audiomanager
+ ref: baserock/jonathanmaw/genivi-demo-jetson
+- name: navit
+ morph: strata/genivi-demo-platform/navit.morph
+ repo: upstream:navit-svn
+ ref: 358812af2c27c4abe324beb205e6d156b96fb1ea
+ unpetrify-ref: master
+- name: audiomanager@gdp
+ morph: strata/genivi-demo-platform/audiomanager@gdp.morph
+ repo: upstream:audiomanager
+ ref: baserock/genivi/6.1-3-gba709ee-gdp
+- name: audiomanagerdemo
+ repo: upstream:genivi/audiomanagerdemo
+ ref: master
+ build-system: qmake
+ build-depends:
+ - audiomanager@gdp
+- name: genivi-demo-platform-hmi
+ morph: strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
+ repo: upstream:genivi/genivi-demo-platform-hmi
+ ref: baserock/genivi/gdp-0.1
+ unpetrify-ref: 3955d0dd4a544577f812854ef333ddb80dbc177f
diff --git a/strata/genivi-demo-platform/audiomanager-poc.morph b/strata/genivi-demo-platform/audiomanager-poc.morph
new file mode 100644
index 0000000..6974705
--- /dev/null
+++ b/strata/genivi-demo-platform/audiomanager-poc.morph
@@ -0,0 +1,10 @@
+name: audiomanager-poc
+kind: chunk
+pre-configure-commands:
+- sed 's:/opt/:/usr/lib/:g' $(git grep -l "/opt/")
+configure-commands:
+- cd AudioManagerPoC && qmake -makefile
+build-commands:
+- cd AudioManagerPoC && make
+install-commands:
+- cd AudioManagerPoC && make install INSTALL_ROOT="$DESTDIR"
diff --git a/strata/genivi-demo-platform/audiomanager@gdp.morph b/strata/genivi-demo-platform/audiomanager@gdp.morph
new file mode 100644
index 0000000..469d5ed
--- /dev/null
+++ b/strata/genivi-demo-platform/audiomanager@gdp.morph
@@ -0,0 +1,8 @@
+name: audiomanager@gdp
+kind: chunk
+configure-commands:
+- cmake -DWITH_PULSE_ROUTING_PLUGIN=ON -DWITH_PULSE_CONTROL_PLUGIN=ON -DWITH_ENABLED_IPC=DBUS -DWITH_DATABASE_STORAGE=OFF -DWITH_DLT=OFF -DCMAKE_INSTALL_PREFIX=/usr
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" install
diff --git a/strata/genivi-demo-platform/automotive-message-broker.morph b/strata/genivi-demo-platform/automotive-message-broker.morph
new file mode 100644
index 0000000..2516cf2
--- /dev/null
+++ b/strata/genivi-demo-platform/automotive-message-broker.morph
@@ -0,0 +1,20 @@
+name: automotive-message-broker
+kind: chunk
+description: The GENIVI Automotive Message Broker
+build-system: cmake
+post-install-commands:
+- mkdir -p "$DESTDIR/usr/lib/systemd/system"
+- |
+ cat >"$DESTDIR/usr/lib/systemd/system/ambd.service" <<EOF
+ [Unit]
+ Description=Automotive Message Broker
+ After=syslog.target
+
+ [Service]
+ Type=dbus
+ BusName=org.automotive.message.broker
+ ExecStart=/usr/bin/ambd
+
+ [Install]
+ WantedBy=multi-user.target
+ EOF
diff --git a/strata/genivi-demo-platform/boost.morph b/strata/genivi-demo-platform/boost.morph
new file mode 100644
index 0000000..49c0590
--- /dev/null
+++ b/strata/genivi-demo-platform/boost.morph
@@ -0,0 +1,8 @@
+name: boost
+kind: chunk
+configure-commands:
+- ./bootstrap.sh
+build-commands:
+- ./b2 $MAKEFLAGS
+install-commands:
+- ./b2 install --prefix="$DESTDIR$PREFIX"
diff --git a/strata/genivi-demo-platform/browser-poc.morph b/strata/genivi-demo-platform/browser-poc.morph
new file mode 100644
index 0000000..1ca23d4
--- /dev/null
+++ b/strata/genivi-demo-platform/browser-poc.morph
@@ -0,0 +1,29 @@
+name: browser-poc
+kind: chunk
+description: The GENIVI browser proof-of-concept for the GENIVI Demo Platform.
+configure-commands:
+- qmake -d -r browser-poc.pro
+build-commands:
+- make all
+install-commands:
+- make INSTALL_ROOT="$DESTDIR" install
+- mkdir -p "$DESTDIR/usr/lib/systemd/user"
+- |
+ cat >"$DESTDIR/usr/lib/systemd/user/browser.service" <<EOF
+ [Unit]
+ Description=Genivi Browser PoC service
+ Requires=dbus.service
+
+ [Service]
+ ExecStart=/usr/lib/browser-poc/browser/browser
+ EOF
+- |
+ cat >"$DESTDIR/usr/lib/systemd/user/demoui.service" <<EOF
+ [Unit]
+ Description=Genivi Browser PoC demoui
+ Requires=browser.service
+
+ [Service]
+ Environment=LD_PRELOAD=/usr/lib/libEGL.so
+ ExecStart=/usr/lib/browser-poc/demoui/demoui
+ EOF
diff --git a/strata/genivi-demo-platform/dbus-c++.morph b/strata/genivi-demo-platform/dbus-c++.morph
new file mode 100644
index 0000000..ec8beef
--- /dev/null
+++ b/strata/genivi-demo-platform/dbus-c++.morph
@@ -0,0 +1,9 @@
+name: dbus-c++
+kind: chunk
+description: libdbus-c++ and dbusxx-xml2cpp tool
+build-system: autotools
+configure-commands:
+- autoreconf -ivf
+- ./configure --prefix=$PREFIX --disable-ecore
+post-install-commands:
+- install tools/dbusxx-xml2cpp "$DESTDIR/$PREFIX"/bin/dbusxx-xml2cpp
diff --git a/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph b/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
new file mode 100644
index 0000000..767ea3c
--- /dev/null
+++ b/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
@@ -0,0 +1,149 @@
+name: genivi-demo-platform-hmi
+kind: chunk
+pre-configure-commands:
+- |
+ sed -i 's/sd_journal_print(LOG_DEBUG,/printf("DEBUG: "/' $(find . -name '*.cpp' -o -name '*.h')
+- |
+ sed -i 's/sd_journal_print(LOG_INFO,/printf("INFO: "/' $(find . -name '*.cpp' -o -name '*.h')
+- |
+ sed -i 's/sd_journal_print(LOG_ERR,/printf("ERR: "/' $(find . -name '*.cpp' -o -name '*.h')
+- |
+ git apply - << "EOF"
+ diff --git a/configure.ac b/configure.ac
+ index f0c7ba2..4ff1462 100644
+ --- a/configure.ac
+ +++ b/configure.ac
+ @@ -61,10 +61,10 @@ PKG_CHECK_MODULES([CLIENT], [
+ AC_CHECK_HEADERS([ilm/ilm_types.h])
+ AC_CHECK_LIB(ilmClient, ilm_UpdateInputEventAcceptanceOn,
+ [ILM_LIBS="-lilmCommon -lilmClient"],
+ - [AC_MSG_ERROR([Can't find correct ilmClient library.])])
+ + [AC_MSG_ERROR([Can't find correct ilmClient library.])], -lilmControl)
+ AC_CHECK_LIB(ilmControl, ilm_SetKeyboardFocusOn,
+ [ILM_LIBS="$ILM_LIBS -lilmControl"],
+ - [AC_MSG_ERROR([Can't find correct ilmControl library.])])
+ + [AC_MSG_ERROR([Can't find correct ilmControl library.])], -lilmClient)
+ AC_SUBST(ILM_LIBS)
+
+ WAYLAND_PREFIX=`$PKG_CONFIG --variable=prefix wayland-client`
+ EOF
+configure-commands:
+- autoreconf -vfi && ./configure --prefix=$PREFIX
+- cd app/gdp-hmi-background && qmake
+- cd app/gdp-hmi-launcher2 && qmake
+- cd app/gdp-hmi-panel && qmake
+- cd app/qml-example && qmake
+build-commands:
+- make
+- cd app/gdp-hmi-background && make
+- cd app/gdp-hmi-launcher2 && make
+- cd app/gdp-hmi-panel && make
+- cd app/qml-example && make
+install-commands:
+- make DESTDIR=$DESTDIR install
+- cd app/gdp-hmi-background && make INSTALL_ROOT=$DESTDIR install
+- cd app/gdp-hmi-launcher2 && make INSTALL_ROOT=$DESTDIR install
+- cd app/gdp-hmi-panel && make INSTALL_ROOT=$DESTDIR install
+- cd app/qml-example && make INSTALL_ROOT=$DESTDIR install
+- mkdir -p $DESTDIR/usr/share/gdp
+- cp -a app/gdp-hmi-background/assets/* $DESTDIR/usr/share/gdp/
+- cp -a app/gdp-hmi-launcher2/content/images/* $DESTDIR/usr/share/gdp/
+- cp -a app/gdp-hmi-panel/assets/* $DESTDIR/usr/share/gdp/
+- mkdir -p "$DESTDIR/usr/lib/systemd/user"
+- mkdir -p "$DESTDIR/usr/lib/systemd/user/default.target.wants"
+- |
+ cat >"$DESTDIR/usr/lib/systemd/user/gdp-hmi-launcher2.service" <<EOF
+ [Unit]
+ Description=GENIVI Demo Platform HMI - Launcher2
+ Requires=gdp-hmi-controller.service
+
+ [Service]
+ Environment=LD_PRELOAD=/usr/lib/libEGL.so
+ ExecStart=/usr/bin/gdp-hmi-launcher2
+
+ [Install]
+ WantedBy=default.target
+ EOF
+- cd "$DESTDIR/usr/lib/systemd/user/default.target.wants" && ln -s ../gdp-hmi-launcher2.service .
+- |
+ cat >"$DESTDIR/usr/lib/systemd/user/gdp-hmi-background.service" <<EOF
+ [Unit]
+ Description=GENIVI Demo Platform HMI - Background
+ Requires=gdp-hmi-controller.service
+ After=gdp-hmi-controller.service
+
+ [Service]
+ Environment=LD_PRELOAD=/usr/lib/libEGL.so
+ ExecStart=/usr/bin/gdp-hmi-background
+
+ [Install]
+ WantedBy=default.target
+ EOF
+- cd "$DESTDIR/usr/lib/systemd/user/default.target.wants" && ln -s ../gdp-hmi-background.service .
+- |
+ cat >"$DESTDIR/usr/lib/systemd/user/gdp-hmi-controller.service" <<EOF
+ [Unit]
+ Description=GENIVI Demo Platform HMI - Controller
+ Requires=dbus.service
+ After=dbus.service weston.service
+
+ [Service]
+ ExecStart=/usr/bin/gdp-hmi-controller
+ Restart=always
+ RestartSec=2
+ TimeoutStopSec=1
+
+ [Install]
+ WantedBy=default.target
+ EOF
+- cd "$DESTDIR/usr/lib/systemd/user/default.target.wants" && ln -s ../gdp-hmi-controller.service .
+- |
+ cat >"$DESTDIR/usr/lib/systemd/user/gdp-hmi-panel.service" <<EOF
+ [Unit]
+ Description=GENIVI Demo Platform HMI - Panel
+ Requires=gdp-hmi-controller.service
+ After=gdp-hmi-background.service
+ After=EGLWLMockNavigation.service
+ After=EGLWLInputEventExample.service
+ After=demoui.service
+ After=qml-example.service
+
+ [Service]
+ Environment=LD_PRELOAD=/usr/lib/libEGL.so
+ ExecStart=/usr/bin/gdp-hmi-panel
+
+ [Install]
+ WantedBy=default.target
+ EOF
+- mkdir -p "$DESTDIR/usr/lib/systemd/user/EGLWLMockNavigation.service.wants"
+- cd "$DESTDIR/usr/lib/systemd/user/EGLWLMockNavigation.service.wants" && ln -s ../gdp-hmi-panel.service .
+- mkdir -p "$DESTDIR/usr/lib/systemd/user/EGLWLInputEventExample.service.wants"
+- cd "$DESTDIR/usr/lib/systemd/user/EGLWLInputEventExample.service.wants" && ln -s ../gdp-hmi-panel.service .
+- mkdir -p "$DESTDIR/usr/lib/systemd/user/demoui.service.wants"
+- cd "$DESTDIR/usr/lib/systemd/user/demoui.service.wants" && ln -s ../gdp-hmi-panel.service .
+- mkdir -p "$DESTDIR/usr/lib/systemd/user/qml-example.service.wants"
+- cd "$DESTDIR/usr/lib/systemd/user/qml-example.service.wants" && ln -s ../gdp-hmi-panel.service .
+- |
+ cat >"$DESTDIR/usr/lib/systemd/user/EGLWLMockNavigation.service" <<EOF
+ [Unit]
+ Description=EGL Wayland Mock Navigation
+
+ [Service]
+ ExecStart=/usr/bin/EGLWLMockNavigation -surface 10
+ EOF
+- |
+ cat > "$DESTDIR/usr/lib/systemd/user/EGLWLInputEventExample.service" <<EOF
+ [Unit]
+ Description=EGL Wayland Input Event Example
+
+ [Service]
+ ExecStart=/usr/bin/EGLWLInputEventExample --surface=5100
+ EOF
+- |
+ cat > "$DESTDIR/usr/lib/systemd/user/qml-example.service" <<EOF
+ [Unit]
+ Description=Genivi QML Example
+
+ [Service]
+ ExecStart=/usr/bin/qml-example
+ EOF
diff --git a/strata/genivi-demo-platform/glibmm.morph b/strata/genivi-demo-platform/glibmm.morph
new file mode 100644
index 0000000..2ebb7fb
--- /dev/null
+++ b/strata/genivi-demo-platform/glibmm.morph
@@ -0,0 +1,6 @@
+name: glibmm
+kind: chunk
+build-system: autotools
+configure-commands:
+- ./autogen.sh
+- ./configure --prefix="$PREFIX" --disable-documentation --enable-maintainer-mode
diff --git a/strata/genivi-demo-platform/mm-common.morph b/strata/genivi-demo-platform/mm-common.morph
new file mode 100644
index 0000000..4f416e7
--- /dev/null
+++ b/strata/genivi-demo-platform/mm-common.morph
@@ -0,0 +1,7 @@
+name: mm-common
+kind: chunk
+description: Common build files of the GNOME C++ bindings.
+build-system: autotools
+configure-commands:
+- ./autogen.sh
+- ./configure --prefix="$PREFIX"
diff --git a/strata/genivi-demo-platform/navit.morph b/strata/genivi-demo-platform/navit.morph
new file mode 100644
index 0000000..2bdb09d
--- /dev/null
+++ b/strata/genivi-demo-platform/navit.morph
@@ -0,0 +1,5 @@
+name: navit
+kind: chunk
+build-system: cmake
+configure-commands:
+- cmake . -DSAMPLE_MAP=n
diff --git a/strata/genivi-demo-platform/sigc++.morph b/strata/genivi-demo-platform/sigc++.morph
new file mode 100644
index 0000000..da575fb
--- /dev/null
+++ b/strata/genivi-demo-platform/sigc++.morph
@@ -0,0 +1,6 @@
+name: sigc++
+kind: chunk
+build-system: autotools
+configure-commands:
+- ./autogen.sh
+- ./configure --disable-documentation --prefix="$PREFIX"
diff --git a/strata/weston-genivi-gdp.morph b/strata/weston-genivi-gdp.morph
new file mode 100644
index 0000000..a29485d
--- /dev/null
+++ b/strata/weston-genivi-gdp.morph
@@ -0,0 +1,21 @@
+name: weston-genivi-gdp
+kind: stratum
+build-depends:
+- morph: strata/graphics-common.morph
+- morph: strata/input-genivi.morph
+- morph: strata/mesa-common.morph
+- morph: strata/libdrm-common.morph
+- morph: strata/wayland-generic.morph
+chunks:
+- name: weston-gdp
+ morph: strata/weston-genivi/weston-gdp.morph
+ repo: upstream:weston
+ ref: 1a43127064349577d1d41a910d8ed1a39caf2867
+ unpetrify-ref: baserock/genivi/genivi-demo-platform
+- name: wayland-ivi-extension
+ morph: strata/weston-genivi/wayland-ivi-extension.morph
+ repo: upstream:genivi/wayland-ivi-extension
+ ref: bac7fc24bb94e37e33f447b58ec74240bb248841
+ unpetrify-ref: 1.3.91
+ build-depends:
+ - weston-gdp
diff --git a/strata/weston-genivi.morph b/strata/weston-genivi.morph
index 60e354c..88d6df6 100644
--- a/strata/weston-genivi.morph
+++ b/strata/weston-genivi.morph
@@ -10,12 +10,12 @@ chunks:
- name: weston
morph: strata/weston-genivi/weston.morph
repo: upstream:weston
- ref: 5d7a71cb941ed419ec042ea28be56c87ea407db6
- unpetrify-ref: baserock/genivi/1.3.0
+ ref: 1a43127064349577d1d41a910d8ed1a39caf2867
+ unpetrify-ref: baserock/genivi/genivi-demo-platform
- name: wayland-ivi-extension
morph: strata/weston-genivi/wayland-ivi-extension.morph
repo: upstream:genivi/wayland-ivi-extension
- ref: 43fa65ede93cef9e6c902df2248229ad204b510a
- unpetrify-ref: master
+ ref: bac7fc24bb94e37e33f447b58ec74240bb248841
+ unpetrify-ref: 1.3.91
build-depends:
- weston
diff --git a/strata/weston-genivi/weston-gdp.morph b/strata/weston-genivi/weston-gdp.morph
new file mode 100644
index 0000000..17c38d5
--- /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" <<EOF
+ [Unit]
+ Description=Weston reference Wayland compositor
+ After=dbus.service
+
+ [Service]
+ ExecStart=/usr/bin/weston-launch -u root -- --log=/tmp/weston.log
+ ExecStop=/usr/bin/killall -s KILL weston
+
+ [Install]
+ WantedBy=multi-user.target
+ EOF
+- cd "$DESTDIR/lib/systemd/system/multi-user.target.wants/" && ln -s ../weston.service .
diff --git a/systems/genivi-demo-platform-armv7lhf-jetson.morph b/systems/genivi-demo-platform-armv7lhf-jetson.morph
new file mode 100644
index 0000000..ec819a0
--- /dev/null
+++ b/systems/genivi-demo-platform-armv7lhf-jetson.morph
@@ -0,0 +1,67 @@
+name: genivi-demo-platform-armv7lhf-jetson
+kind: system
+description: A GENIVI demo platform for a 64-bit x86 system.
+arch: armv7lhf
+strata:
+- name: build-essential
+ morph: strata/build-essential.morph
+- name: core
+ morph: strata/core.morph
+- name: glib-common
+ morph: strata/glib-common.morph
+- name: foundation
+ morph: strata/foundation.morph
+- name: bsp-jetson
+ morph: strata/bsp-jetson.morph
+- name: connectivity
+ morph: strata/connectivity.morph
+- name: connman-common
+ morph: strata/connman-common.morph
+- name: audio-bluetooth
+ morph: strata/audio-bluetooth.morph
+- name: libdrm-common
+ morph: strata/libdrm-common.morph
+- name: multimedia-common
+ morph: strata/multimedia-common.morph
+- name: multimedia-gstreamer
+ morph: strata/multimedia-gstreamer.morph
+- name: genivi
+ morph: strata/genivi.morph
+- name: wayland-generic
+ morph: strata/wayland-generic.morph
+- name: graphics-common
+ morph: strata/graphics-common.morph
+- name: input-genivi
+ morph: strata/input-genivi.morph
+- name: llvm-common
+ morph: strata/llvm-common.morph
+- name: mesa-common
+ morph: strata/mesa-common.morph
+- name: x-common
+ morph: strata/x-common.morph
+- name: weston-genivi-gdp
+ morph: strata/weston-genivi-gdp.morph
+- name: ruby
+ morph: strata/ruby.morph
+- name: qt5-tools
+ morph: strata/qt5-tools.morph
+- name: qt5-tools-qtmultimedia
+ morph: strata/qt5-tools-qtmultimedia.morph
+- name: qt5-tools-qtwebkit
+ morph: strata/qt5-tools-qtwebkit.morph
+- name: gtk2
+ morph: strata/gtk2.morph
+- name: python-pygobject
+ morph: strata/python-pygobject.morph
+- name: genivi-demo-platform-libs
+ morph: strata/genivi-demo-platform-libs.morph
+- name: genivi-demo-platform
+ morph: strata/genivi-demo-platform.morph
+- name: tools
+ morph: strata/tools.morph
+configuration-extensions:
+- set-hostname
+- add-config-files
+- simple-network
+- nfsboot
+- install-files
diff --git a/systems/genivi-demo-platform-x86_64-generic.morph b/systems/genivi-demo-platform-x86_64-generic.morph
new file mode 100644
index 0000000..bd971bf
--- /dev/null
+++ b/systems/genivi-demo-platform-x86_64-generic.morph
@@ -0,0 +1,67 @@
+name: genivi-demo-platform-x86_64-generic
+kind: system
+description: A GENIVI demo platform for a 64-bit x86 system.
+arch: x86_64
+strata:
+- name: build-essential
+ morph: strata/build-essential.morph
+- name: core
+ morph: strata/core.morph
+- name: glib-common
+ morph: strata/glib-common.morph
+- name: foundation
+ morph: strata/foundation.morph
+- name: bsp-x86_64-generic
+ morph: strata/bsp-x86_64-generic.morph
+- name: connectivity
+ morph: strata/connectivity.morph
+- name: connman-common
+ morph: strata/connman-common.morph
+- name: audio-bluetooth
+ morph: strata/audio-bluetooth.morph
+- name: libdrm-common
+ morph: strata/libdrm-common.morph
+- name: multimedia-common
+ morph: strata/multimedia-common.morph
+- name: multimedia-gstreamer
+ morph: strata/multimedia-gstreamer.morph
+- name: genivi
+ morph: strata/genivi.morph
+- name: wayland-generic
+ morph: strata/wayland-generic.morph
+- name: graphics-common
+ morph: strata/graphics-common.morph
+- name: input-genivi
+ morph: strata/input-genivi.morph
+- name: llvm-common
+ morph: strata/llvm-common.morph
+- name: mesa-common
+ morph: strata/mesa-common.morph
+- name: x-common
+ morph: strata/x-common.morph
+- name: weston-genivi-gdp
+ morph: strata/weston-genivi-gdp.morph
+- name: ruby
+ morph: strata/ruby.morph
+- name: qt5-tools
+ morph: strata/qt5-tools.morph
+- name: qt5-tools-qtmultimedia
+ morph: strata/qt5-tools-qtmultimedia.morph
+- name: qt5-tools-qtwebkit
+ morph: strata/qt5-tools-qtwebkit.morph
+- name: gtk2
+ morph: strata/gtk2.morph
+- name: python-pygobject
+ morph: strata/python-pygobject.morph
+- name: genivi-demo-platform-libs
+ morph: strata/genivi-demo-platform-libs.morph
+- name: genivi-demo-platform
+ morph: strata/genivi-demo-platform.morph
+- name: tools
+ morph: strata/tools.morph
+configuration-extensions:
+- set-hostname
+- add-config-files
+- simple-network
+- nfsboot
+- install-files