summaryrefslogtreecommitdiff
path: root/config/data/u-boot
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-14 17:46:34 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-14 17:46:34 +0100
commit300f2cb434fbf3df31c251e4a555267f1b8799b8 (patch)
tree2e56bb9a3c3bb41f8acc9db8c2a638bb497001ce /config/data/u-boot
parent2c94101884d76453ca81b14578df98ca85e29ead (diff)
mk: remove u-boot-specific git-clean handling
yes, make it generalised. use a new variable in mkhelper.cfg, gitclean and gitcleanargs not enabled by default, but u-boot enables it. i'm considering whether to use this by default, as it is the general policy of lbmk to clean everything just after a build, as builds are cached out of tree. this way, we can do re-builds safely for each project. there are probably a lot of subtle bugs that might be fixed if we used this the problem is that this is currently only used on lbmk.git, but not on libreboot release archives which lack .git directories; the main one is initialised in lbmk, but not in upstream sources. we could just initialise those. in fact, that is probably what i'm going to do. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/data/u-boot')
-rw-r--r--config/data/u-boot/mkhelper.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/data/u-boot/mkhelper.cfg b/config/data/u-boot/mkhelper.cfg
new file mode 100644
index 00000000..2108034d
--- /dev/null
+++ b/config/data/u-boot/mkhelper.cfg
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+gitclean="y"
+gitcleanargs="-fdx"