[PATCH 2/4] MAKEALL: devel mode: abort if no positional config

Ahmad Fatoum a.fatoum at barebox.org
Mon Feb 23 03:31:33 PST 2026


devel mode is supposed to make it easy to get started with a particular
config that's built into build/, so let's also expect a single config to
have been specified.

Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 MAKEALL | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/MAKEALL b/MAKEALL
index 001b46a14726..c36aed625820 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -391,6 +391,10 @@ fi
 
 if [ $# -eq 0 ]
 then
+	if [ "$DEVEL" = "1" ]; then
+		echo "DEVEL mode build requires specifying the config as positional argument"
+		exit 1
+	fi
 	if [ ! "${ARCH}" ] || [ ! -d arch/${ARCH} ]
 	then
 		do_build_all
-- 
2.47.3




More information about the barebox mailing list