Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 4cb7c5bb0 -> b402017f5


packages; depend on newtmgr API, instead of specific newtmgr pkg.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/b402017f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b402017f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/b402017f

Branch: refs/heads/develop
Commit: b402017f553b73f9ce5d9608b2ad9ff85840643d
Parents: 4cb7c5b
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Wed Sep 21 10:32:27 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Wed Sep 21 10:32:27 2016 -0700

----------------------------------------------------------------------
 libs/crash_test/pkg.yml      | 3 ++-
 libs/imgmgr/pkg.yml          | 3 ++-
 libs/newtmgr/nmgr_os/pkg.yml | 5 ++---
 sys/config/pkg.yml           | 6 +++++-
 sys/log/pkg.yml              | 4 ++--
 sys/stats/pkg.yml            | 4 ++--
 6 files changed, 15 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b402017f/libs/crash_test/pkg.yml
----------------------------------------------------------------------
diff --git a/libs/crash_test/pkg.yml b/libs/crash_test/pkg.yml
index 872c029..541dba7 100644
--- a/libs/crash_test/pkg.yml
+++ b/libs/crash_test/pkg.yml
@@ -30,7 +30,8 @@ pkg.cflags.SHELL:
     - -DSHELL_PRESENT
 
 pkg.deps.NEWTMGR:
-    - libs/newtmgr
     - libs/json
+pkg.req_apis.NEWTMGR:
+    - newtmgr
 pkg.cflags.NEWTMGR:
     - -DNEWTMGR_PRESENT

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b402017f/libs/imgmgr/pkg.yml
----------------------------------------------------------------------
diff --git a/libs/imgmgr/pkg.yml b/libs/imgmgr/pkg.yml
index 5d674d0..dc214c1 100644
--- a/libs/imgmgr/pkg.yml
+++ b/libs/imgmgr/pkg.yml
@@ -24,12 +24,13 @@ pkg.homepage: "http://mynewt.apache.org/";
 pkg.keywords:
 
 pkg.deps:
-    - libs/newtmgr
     - libs/bootutil
     - libs/util
 pkg.deps.FS:
     - fs/fs
 pkg.cflags.FS: -DFS_PRESENT
+pkg.req_apis:
+    - newtmgr
 
 pkg.deps.COREDUMP:
     - sys/coredump

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b402017f/libs/newtmgr/nmgr_os/pkg.yml
----------------------------------------------------------------------
diff --git a/libs/newtmgr/nmgr_os/pkg.yml b/libs/newtmgr/nmgr_os/pkg.yml
index d6610b2..66a3f13 100644
--- a/libs/newtmgr/nmgr_os/pkg.yml
+++ b/libs/newtmgr/nmgr_os/pkg.yml
@@ -29,8 +29,7 @@ pkg.deps:
     - libs/json
     - libs/util
     - libs/testutil
-    - libs/newtmgr
     - sys/reboot
 
-pkg.reqs:
-    - console
+pkg.req_apis:
+    - newtmgr

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b402017f/sys/config/pkg.yml
----------------------------------------------------------------------
diff --git a/sys/config/pkg.yml b/sys/config/pkg.yml
index a31f33e..1aa4879 100644
--- a/sys/config/pkg.yml
+++ b/sys/config/pkg.yml
@@ -26,15 +26,19 @@ pkg.keywords:
 pkg.deps:
     - libs/util
     - libs/testutil
+
 pkg.deps.SHELL:
     - libs/shell
 pkg.req_apis.SHELL:
     - console
 pkg.cflags.SHELL: -DSHELL_PRESENT
+
 pkg.deps.NEWTMGR:
-    - libs/newtmgr
     - libs/json
+pkg.req_apis.NEWTMGR:
+    - newtmgr
 pkg.cflags.NEWTMGR: -DNEWTMGR_PRESENT
+
 pkg.deps.FCB:
     - sys/fcb
 pkg.cflags.FCB: -DFCB_PRESENT

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b402017f/sys/log/pkg.yml
----------------------------------------------------------------------
diff --git a/sys/log/pkg.yml b/sys/log/pkg.yml
index 2bf5036..ed41fb3 100644
--- a/sys/log/pkg.yml
+++ b/sys/log/pkg.yml
@@ -30,13 +30,13 @@ pkg.deps:
     - libs/testutil
 pkg.deps.SHELL:
     - libs/shell
-pkg.deps.NEWTMGR:
-    - libs/newtmgr
 pkg.deps.FCB:
     - hw/hal
     - sys/fcb
 pkg.deps.TEST:
     - sys/fcb
+pkg.req_apis.NEWTMGR:
+    - newtmgr
 pkg.req_apis.SHELL:
     - console
 pkg.cflags.SHELL: -DSHELL_PRESENT

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b402017f/sys/stats/pkg.yml
----------------------------------------------------------------------
diff --git a/sys/stats/pkg.yml b/sys/stats/pkg.yml
index 309dbd6..ab9a0f4 100644
--- a/sys/stats/pkg.yml
+++ b/sys/stats/pkg.yml
@@ -30,8 +30,8 @@ pkg.deps:
     - libs/testutil
 pkg.deps.SHELL:
     - libs/shell
-pkg.deps.NEWTMGR:
-    - libs/newtmgr
+pkg.req_apis.NEWTMGR:
+    - newtmgr
 pkg.req_apis.SHELL:
     - console
 pkg.cflags.SHELL: -DSHELL_PRESENT

Reply via email to