summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/distro/include/yocto-space-optimize.inc8
1 files changed, 8 insertions, 0 deletions
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 @@
1# Some components have debug data and workdirs that are simply too large to be useful
2# in general builds. Disable or reduce debugging for these cases to improve disk usage
3# and build speed.
4
5# With -g, llvm workdir is 40GB, llvm-staticdev is 1.3GB, llvm-dbg is 1GB
6DEBUG_LEVELFLAG:pn-llvm = ""
7# With -g, qemu workdir is 10GB, qemu-dbg is 363MB
8DEBUG_LEVELFLAG:pn-qemu = ""