diff options
Diffstat (limited to 'meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb')
-rw-r--r-- | meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb index 4a5aa3feb..68965af0a 100644 --- a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb +++ b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb @@ -21,7 +21,11 @@ S = "${WORKDIR}/git" # This provides below applications that are called into in case # of host checkstop, host watchdog and host watchdog-timeout respectively. -APPS = "checkstop watchdog watchdog-timeout" +APPS = " \ + checkstop \ + watchdog \ + ${@bb.utils.contains('OBMC_MACHINE_FEATURES', 'phal', '', 'watchdog-timeout', d)} \ + " DEBUG_TMPL = "openpower-debug-collector-{0}@.service" SYSTEMD_SERVICE:${PN} += "${@compose_list(d, 'DEBUG_TMPL', 'APPS')}" |