You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/07/17 22:32:41 UTC
[GitHub] ccollins476ad opened a new pull request #195: Allow build_profile
to be overridden per package
ccollins476ad opened a new pull request #195: Allow build_profile to be overridden per package
URL: https://github.com/apache/mynewt-newt/pull/195
The build profile can be overridden for a particular pacakge in two
ways:
* (1) Specify a "pkg.build_profile" value in the package's `pkg.yml` file. E.g.,
```
pkg.build_profile: debug
```
* (2) Specify the pacakge in the target's "target.package_profiles" map. E.g.,
```
target.package_profiles:
'apps/blinky': debug
'@apache-mynewt-core/sys/log/full': debug
```
(1) takes priority over (2).
In addition, it is now possible to override the optimization setting ("-O<x>") in a package's `pkg.cflags`. Prior to this change, the "-O" setting specified by the compiler / build profile would always override what other packages specify.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services