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 0000000000..407e8937f0 --- /dev/null +++ b/meta/conf/distro/include/yocto-space-optimize.inc @@ -0,0 +1,8 @@ +# 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 = ""