Files
Nathan Whitehead dafe397a0f Add dockerfile for release builds.
Fix minor build issues related to using old Ubuntu to build.
Add option to use precompiled font.js, Pillow was not working properly in old Python versions.
2022-09-22 14:27:09 -06:00

25 lines
717 B
Plaintext

# Optional:
# target_cpu = "arm"
if (target_cpu == "arm") {
set_default_toolchain("//build/toolchains:arm")
} else {
set_default_toolchain("//build/toolchains:gcc")
}
declare_args() {
# Set to root of linaro toolchain directory that contains sysroot and gcc subdirs
linaro = "~/linaro"
# Include debug symbols in final core for use in gdb etc.
include_symbols = true
# Enable runtime checks of C++ standard library (vector indexing etc.)
# Use this to find where memory gets corrupted
debug_cxxstdlib = false
# Use pregenerated font.js file instead of using Pillow and the actual font
# (Workaround python bugs in old distributions)
use_precompiled_font = false
}