diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-01-19 16:44:07 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-02-06 11:57:56 +0000 |
commit | 8aad28035b318701059db8129947186210f25c97 (patch) | |
tree | 469d634a53124f8ee7ebf92321aa6b5d63332d3e /meta-hmi-framework/recipes-demo-hmi/hmi-debug | |
parent | b61f1d0e08779f02eedcf79b6832ae578346ca1b (diff) |
Add hmi-debug recipe
This recipe installs the hmi-debug file to control log level.
Bug-AGL: SPEC-1179
Change-Id: I223269ca44cd4d923241147ee4d0a3bc05e7ac59
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'meta-hmi-framework/recipes-demo-hmi/hmi-debug')
-rw-r--r-- | meta-hmi-framework/recipes-demo-hmi/hmi-debug/files/hmi-debug | 8 | ||||
-rw-r--r-- | meta-hmi-framework/recipes-demo-hmi/hmi-debug/hmi-debug_git.bb | 19 |
2 files changed, 27 insertions, 0 deletions
diff --git a/meta-hmi-framework/recipes-demo-hmi/hmi-debug/files/hmi-debug b/meta-hmi-framework/recipes-demo-hmi/hmi-debug/files/hmi-debug new file mode 100644 index 00000000..fee9573b --- /dev/null +++ b/meta-hmi-framework/recipes-demo-hmi/hmi-debug/files/hmi-debug @@ -0,0 +1,8 @@ +#You can select log level of HMI framework +#1 ERROR +#2 WARNING +#3 NOTICE +#4 INFO +#5 DEBUG +#If you want to output debug log about hmi-framework, please uncomment the following. +#USE_HMI_DEBUG=5 diff --git a/meta-hmi-framework/recipes-demo-hmi/hmi-debug/hmi-debug_git.bb b/meta-hmi-framework/recipes-demo-hmi/hmi-debug/hmi-debug_git.bb new file mode 100644 index 00000000..27fb60d6 --- /dev/null +++ b/meta-hmi-framework/recipes-demo-hmi/hmi-debug/hmi-debug_git.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Configurations for HMI framework" + +SECTION = "HMI" +LICENSE = "Apache-2.0" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +SRC_URI = " \ + file://hmi-debug \ +" + +FILES_${PN} = " \ + ${sysconfdir}/afm/unit.env.d \ +" + +do_install() { + install -d ${D}${sysconfdir}/afm/unit.env.d + install -m 644 ${WORKDIR}/hmi-debug ${D}${sysconfdir}/afm/unit.env.d +} |