summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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