apache / mynewt-newt

An OS to build, deploy and securely manage billions of devices
https://mynewt.apache.org/
Apache License 2.0
117 stars 96 forks source link

Add possibility to define global cflags in packages #534

Closed m-gorecki closed 9 months ago

m-gorecki commented 1 year ago

This adds possibility to use global cflags in packages. Until now only cflags defined in app package were used globally while compiling. Now it is possible to add such flags in every package by using "app.cflags" field in package's yaml file. This also adds new command to show which packages within the target contain those global flags.