summaryrefslogtreecommitdiff
path: root/strata/genivi/smartdevicelink.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/genivi/smartdevicelink.morph')
-rw-r--r--strata/genivi/smartdevicelink.morph18
1 files changed, 18 insertions, 0 deletions
diff --git a/strata/genivi/smartdevicelink.morph b/strata/genivi/smartdevicelink.morph
new file mode 100644
index 0000000..6eb26f3
--- /dev/null
+++ b/strata/genivi/smartdevicelink.morph
@@ -0,0 +1,18 @@
+name: smartdevicelink
+kind: chunk
+
+configure-commands:
+ - cd SDL_Core && cmake .
+build-commands:
+ - cd SDL_Core && make
+install-commands:
+ - cd SDL_Core && make install DESTDIR=/
+ - mkdir -p $DESTDIR/opt/smartlink/include
+ - mkdir -p $DESTDIR/opt/smartlink/bin
+ - mkdir -p $DESTDIR/opt/smartlink/lib
+ - mkdir -p $DESTDIR/opt/smartlink/HMI
+ - cp -r SDL_Core/bin/* $DESTDIR/opt/smartlink/bin
+ - cp -r SDL_Core/include/* $DESTDIR/opt/smartlink/include
+ - cp -r SDL_Core/lib/* $DESTDIR/opt/smartlink/lib
+ - cp -r SDL_Core/src/components/HMI/* $DESTDIR/opt/smartlink/HMI
+ - echo "/opt/smartlink/HMI/index.html" > $DESTDIR/opt/smartlink/bin/hmi_link