You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/03/09 02:35:36 UTC

[4/7] incubator-mynewt-newt git commit: Remove compiler fields from target.

Remove compiler fields from target.

Now they are in the bsp.


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

Branch: refs/heads/rename_project_app
Commit: 4920e1e47b368a3aadcd5d30d315f7c9c07aec72
Parents: a54695c
Author: Christopher Collins <cc...@gmail.com>
Authored: Tue Mar 8 15:28:13 2016 -0800
Committer: Christopher Collins <cc...@gmail.com>
Committed: Tue Mar 8 17:32:48 2016 -0800

----------------------------------------------------------------------
 newt/target/target.go | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/4920e1e4/newt/target/target.go
----------------------------------------------------------------------
diff --git a/newt/target/target.go b/newt/target/target.go
index 2a4f781..6a520c3 100644
--- a/newt/target/target.go
+++ b/newt/target/target.go
@@ -47,7 +47,6 @@ type Target struct {
 	// XXX: Probably don't need the below four fields; they can just be
 	// retrieved from the viper object.  Keep them here for now for easy
 	// initializiation of dummy targets.
-	CompilerName string
 	BspName      string
 	AppName      string
 	Arch         string
@@ -90,14 +89,11 @@ func (target *Target) Load(basePkg *pkg.LocalPackage) error {
 		target.Vars[k] = v.(string)
 	}
 
-	target.CompilerName = target.Vars["target.compiler"]
 	target.BspName = target.Vars["target.bsp"]
 	target.AppName = target.Vars["target.app"]
 	target.Arch = target.Vars["target.arch"]
 	target.BuildProfile = target.Vars["target.build_profile"]
 
-	// XXX: Verify required fields set?
-
 	return nil
 }