summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-13 12:58:17 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-05-16 04:52:11 +0000
commit11de872621b519471537f7c55ce8135809faf151 (patch)
tree537da49545030c89be6c1d83d543e07dfa981314 /recipes-demo-hmi
parent93bc00e671739311b4aad0f26f56f51979fce257 (diff)
Makefile compatible with aglwgt_package task.
This patch allows building and install widget file using tasks aglwgt_package and aglwgt_deploy. Bug-AGL: SPEC-503 Change-Id: I6cee956a3e7f137cd48987b5f9c2bfb1511993f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'recipes-demo-hmi')
-rw-r--r--recipes-demo-hmi/navigation/navigation/0001-Makefile-compatible-aglwgt.patch20
-rw-r--r--recipes-demo-hmi/navigation/navigation_git.bb1
2 files changed, 21 insertions, 0 deletions
diff --git a/recipes-demo-hmi/navigation/navigation/0001-Makefile-compatible-aglwgt.patch b/recipes-demo-hmi/navigation/navigation/0001-Makefile-compatible-aglwgt.patch
new file mode 100644
index 000000000..5a5f299b5
--- /dev/null
+++ b/recipes-demo-hmi/navigation/navigation/0001-Makefile-compatible-aglwgt.patch
@@ -0,0 +1,20 @@
+--- a/Makefile.am 2017-05-13 12:44:00.955668657 +0000
++++ b/Makefile.am 2017-05-13 12:46:26.500731324 +0000
+@@ -3,7 +3,7 @@
+ DIST_SUBDIRS = src
+ CLEANFILES = agl/navigation.wgt flite jtalk
+
+-bin_SCRIPTS = flite jtalk navigation.wgt
++bin_SCRIPTS = flite jtalk package
+ flite: flite.in
+ sed -e 's,[@]datadir[@],$(datadir),g' $(srcdir)/flite.in > flite
+ chmod +x flite
+@@ -12,7 +12,7 @@
+ sed -e 's,[@]datadir[@],$(datadir),g' -e 's,[@]exec_prefix[@],$(exec_prefix),g' $(srcdir)/jtalk.in > jtalk
+ chmod +x jtalk
+
+-navigation.wgt:src/navi
++package:src/navi
+ rm -f agl/navigation.wgt
+ mkdir -p agl
+ cp src/.libs/navi agl/
diff --git a/recipes-demo-hmi/navigation/navigation_git.bb b/recipes-demo-hmi/navigation/navigation_git.bb
index 573a3cd92..6c8195ad7 100644
--- a/recipes-demo-hmi/navigation/navigation_git.bb
+++ b/recipes-demo-hmi/navigation/navigation_git.bb
@@ -20,6 +20,7 @@ SRC_URI="git://github.com/AGLExport/gpsnavi.git;branch=agl \
file://jtalk.in \
file://download_mapdata_jp.sh \
file://download_mapdata_uk.sh \
+ file://0001-Makefile-compatible-aglwgt.patch \
"
# To avoid C++ library link failure