From 79227ff4f1eb42578825065f7c8087cb40b10b44 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sat, 19 Sep 2026 16:50:56 +0200 Subject: [PATCH] make/disabled.mk: Re-add file for legacy projects The "Remove everything non-essential for make clean all" commit (bc883deed) dropped disabled.mk, judged non-essential from the jw-pkg tree's own perspective. Legacy projects still include it, though: their Makefiles use it to replace a directory build with no-op targets that report the target as disabled. Without the file, make fails in such projects in any workspace that mounts a current jw-pkg. Re-add it verbatim. The post-purge re-adds dummy.mk and dummy-topdir.mk cover the current-style stubs; disabled.mk covers the legacy includes. Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.85.1 Signed-off-by: Jan Lindemann --- make/disabled.mk | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 make/disabled.mk diff --git a/make/disabled.mk b/make/disabled.mk new file mode 100644 index 00000000..2b6558c8 --- /dev/null +++ b/make/disabled.mk @@ -0,0 +1,7 @@ +DISABLED = @echo Target \"$1\" in $(shell pwd)/Makefile has been disabled. + +all: + $(call DISABLED,$@) + +install clean distclean: + $(call DISABLED,$@)