What changed, and why it matters
This commit is a routine build-system tidy-up. It changes how one internal helper tool is linked during compilation and marks a build target as 'phony' so make handles it correctly. There is no user-facing change, no network code, no cryptography change, and no indication of a security issue.
No security action required. Treat as normal build hygiene.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch modifies Makefiles only. In the top-level Makefile, ccan-cdump.o is moved into the main CCAN_OBJS list and the separate CDUMP_OBJS variable is removed; the cdump-enumstr tool now links against libccan.a instead of an explicit object list. In external/Makefile, the ‘submodcheck’ target is declared .PHONY. These are build-maintenance changes with no runtime security relevance.
Changed components
Makefileexternal/MakefileInspect captured patch +4 / −3
diff --git a/Makefile b/Makefile
index 7f7e9d97..87e8f32a 100644
--- a/Makefile
+++ b/Makefile
@@ -104,6 +104,7 @@ CCAN_OBJS := \
ccan-bitmap.o \
ccan-bitops.o \
ccan-breakpoint.o \
+ ccan-cdump.o \
ccan-closefrom.o \
ccan-crc32c.o \
ccan-crypto-hmac.o \
@@ -229,8 +230,6 @@ CCAN_HEADERS := \
$(CCANDIR)/ccan/typesafe_cb/typesafe_cb.h \
$(CCANDIR)/ccan/utf8/utf8.h
-CDUMP_OBJS := ccan-cdump.o ccan-strmap.o
-
BOLT_GEN := tools/generate-wire.py
WIRE_GEN := $(BOLT_GEN)
@@ -723,7 +722,7 @@ TAGS:
tags:
$(RM) tags; find * -name test -type d -prune -o \( -name '*.[ch]' -o -name '*.py' \) -print0 | xargs -0 ctags --append
-ccan/ccan/cdump/tools/cdump-enumstr: ccan/ccan/cdump/tools/cdump-enumstr.o $(CDUMP_OBJS) $(CCAN_OBJS)
+ccan/ccan/cdump/tools/cdump-enumstr: ccan/ccan/cdump/tools/cdump-enumstr.o libccan.a
ALL_PROGRAMS += ccan/ccan/cdump/tools/cdump-enumstr
# Can't add to ALL_OBJS, as that makes a circular dep.
diff --git a/external/Makefile b/external/Makefile
index 839cbac2..5c9eb856 100644
--- a/external/Makefile
+++ b/external/Makefile
@@ -42,6 +42,8 @@ endif
EXTERNAL_LDLIBS := -L${TARGET_DIR} $(patsubst lib%.a,-l%,$(notdir $(EXTERNAL_LIBS)))
+.PHONY: submodcheck
+
submodcheck: $(FORCE)
ifneq ($(VERSION),)
@tools/refresh-submodules.sh $(SUBMODULES)
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.