diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-01-18 15:37:57 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-01-18 23:57:08 +0100 |
commit | 7a523569f7f403cdd7c2074cc49920f1dd7ecc70 (patch) | |
tree | 1fb09d1838718e062e74c7894a3f65b8523cfa31 /config | |
parent | c150a190f59afa3d34924a76bb9306bdb0914533 (diff) | |
download | mtk-20170518-7a523569f7f403cdd7c2074cc49920f1dd7ecc70.zip mtk-20170518-7a523569f7f403cdd7c2074cc49920f1dd7ecc70.tar.gz mtk-20170518-7a523569f7f403cdd7c2074cc49920f1dd7ecc70.tar.bz2 |
build: add support for automatically removing build dir contents during build
This is used to save space on buildbot instances.
If any part of a package needs to be rebuild, the whole package is
rebuilt from scratch. Stamp files are preserved to allow dependency
checks to work
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'config')
-rw-r--r-- | config/Config-devel.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/Config-devel.in b/config/Config-devel.in index 938f0b3..d953e66 100644 --- a/config/Config-devel.in +++ b/config/Config-devel.in @@ -39,6 +39,14 @@ menuconfig DEVEL help Automatically rebuild packages when their files change. + config AUTOREMOVE + bool "Automatic removal of build directories" if DEVEL + default n + help + Automatically delete build directories after make target completed. + This allows you to symlink build_dir into a scratch location, e.g. a ramdisk, + which does not have enough space to keep a complete build_dir. + config BUILD_SUFFIX string "Build suffix to append to the target BUILD_DIR variable" if DEVEL default "" |