mirror of https://github.com/ARMmbed/mbed-os.git
Add the option to override the build directory using environment variables
parent
9b366ee801
commit
44dc13645c
|
|
@ -15,10 +15,14 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
"""
|
||||
from os.path import join
|
||||
from os import getenv
|
||||
|
||||
# Conventions about the directory structure
|
||||
from settings import ROOT, BUILD_DIR
|
||||
|
||||
# Allow overriding some of the build parameters using environment variables
|
||||
BUILD_DIR = getenv("MBED_BUILD_DIR") or BUILD_DIR
|
||||
|
||||
# Embedded Libraries Sources
|
||||
LIB_DIR = join(ROOT, "libraries")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue