You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2023/01/27 15:03:30 UTC
[mynewt-newt] branch master updated: Copy pkg.deps field when using "target copy"
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newt.git
The following commit(s) were added to refs/heads/master by this push:
new 072e0fc4 Copy pkg.deps field when using "target copy"
072e0fc4 is described below
commit 072e0fc45c200e928185d1d2e230864b2339c449
Author: Michal Gorecki <mi...@codecoup.pl>
AuthorDate: Tue Jan 10 12:18:35 2023 +0100
Copy pkg.deps field when using "target copy"
Now using the command "target copy" will copy the field pkg.deps into
the destination target.
---
newt/pkg/localpackage.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/newt/pkg/localpackage.go b/newt/pkg/localpackage.go
index a68cbf2c..250abc84 100644
--- a/newt/pkg/localpackage.go
+++ b/newt/pkg/localpackage.go
@@ -255,6 +255,7 @@ func (pkg *LocalPackage) Save() error {
file.WriteString("\n")
+ file.WriteString(pkg.sequenceString("pkg.deps"))
file.WriteString(pkg.sequenceString("pkg.aflags"))
file.WriteString(pkg.sequenceString("pkg.cflags"))
file.WriteString(pkg.sequenceString("pkg.cxxflags"))