summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo-hmi')
-rw-r--r--[-rwxr-xr-x]recipes-demo-hmi/navigation/ondemandnavi-config_1.0.bb12
1 files changed, 4 insertions, 8 deletions
diff --git a/recipes-demo-hmi/navigation/ondemandnavi-config_1.0.bb b/recipes-demo-hmi/navigation/ondemandnavi-config_1.0.bb
index 784341edc..212971f26 100755..100644
--- a/recipes-demo-hmi/navigation/ondemandnavi-config_1.0.bb
+++ b/recipes-demo-hmi/navigation/ondemandnavi-config_1.0.bb
@@ -9,17 +9,13 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2
SRC_URI = "file://naviconfig.ini \
"
-S = "${WORKDIR}"
+inherit allarch
MAPBOX_ACCESS_TOKEN ?= "Please set mapbox access token"
+do_compile[noexec] = "1"
+
do_install () {
- install -d ${D}${sysconfdir}
- install -m 644 ${WORKDIR}/naviconfig.ini ${D}${sysconfdir}
+ install -D -m 644 ${WORKDIR}/naviconfig.ini ${D}${sysconfdir}/naviconfig.ini
sed -i -e 's/MAPBOX_ACCESS_TOKEN/${MAPBOX_ACCESS_TOKEN}/' ${D}${sysconfdir}/naviconfig.ini
}
-
-PACKAGE_ARCH = "all"
-
-PACKAGES = "${PN}"
-FILES_${PN} = "/etc/naviconfig.ini"