diff --git a/meta/conf/distro/include/yocto-space-optimize.inc b/meta/conf/distro/include/yocto-space-optimize.inc new file mode 100644 index 00000000000..282e77da8fa --- /dev/null +++ b/meta/conf/distro/include/yocto-space-optimize.inc @@ -0,0 +1,10 @@ +# Some components have debug data and workdirs that are simply too large to be useful +# in general builds. Disable or reduce debugging for these cases to improve disk usage +# and build speed. + +# With -g, llvm workdir is 40GB, llvm-staticdev is 1.3GB, llvm-dbg is 1GB +DEBUG_LEVELFLAG:pn-llvm = "" +# With -g, qemu workdir is 10GB, qemu-dbg is 363MB +DEBUG_LEVELFLAG:pn-qemu = "" +# With -g, openssl workdir is 7.4GB, openssl-dbg is 336MB +DEBUG_LEVELFLAG:pn-openssl = "-g1"