You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2021/11/04 12:50:08 UTC
[mynewt-mcumgr] branch master updated: os_mgmt/mynewt: Make package
dependency conditional
This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git
The following commit(s) were added to refs/heads/master by this push:
new 80b34d9 os_mgmt/mynewt: Make package dependency conditional
new 5497c36 Merge pull request #154 from kasjer/kasjer/remove-reboot-log
80b34d9 is described below
commit 80b34d9828b190008ea79062b86e75b897cdd863
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Thu Nov 4 08:22:07 2021 +0100
os_mgmt/mynewt: Make package dependency conditional
Code already uses sys/reboot only if LOG_SOFT_RESET is enabled.
Now package is also included only if LOG_SOFT_RESET is present,
this removes unnecessary package inclusion that result in
requirement to have reboot log image area that package will
not use when flag is not present.
---
cmd/os_mgmt/port/mynewt/pkg.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/os_mgmt/port/mynewt/pkg.yml b/cmd/os_mgmt/port/mynewt/pkg.yml
index 4ddee67..53ad4b1 100644
--- a/cmd/os_mgmt/port/mynewt/pkg.yml
+++ b/cmd/os_mgmt/port/mynewt/pkg.yml
@@ -26,4 +26,5 @@ pkg.keywords:
pkg.deps:
- '@apache-mynewt-mcumgr/cmd/os_mgmt'
- '@apache-mynewt-mcumgr/mgmt'
+pkg.deps.LOG_SOFT_RESET:
- '@apache-mynewt-core/sys/reboot'