From 5dd20f09b7b8176e94a29cc317592b8b3301773b Mon Sep 17 00:00:00 2001 From: BFE Engineering Date: Thu, 12 Nov 2026 05:15:59 -0600 Subject: [PATCH] adbd gate: comment names the steps that stop the rule [skip ci] The Makefile comment in 0015 said every step below stops the rule when it fails. The rm, both tar steps, pushd and cp -af have no failure check. Only the series, android-tools.patch.sh, build and copy steps stop the rule, as README.md and tests/test-adbd-no-tcp.sh say. Comment-only change. The rule is unchanged: the real patch, the unpatched base and the mutants give the same results, and the adbd source tree that the patch set produces is identical (srcs-equal). Fixes #50 Refs #45 Co-Authored-By: Claude Haiku 5.5 Claude-Session: https://claude.ai/code/session_01B1W6qGNpGNtFT7nhShpH56 --- .../board/patches/0015-adbd-no-tcp-listener.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luckfox-sdk-patches/board/patches/0015-adbd-no-tcp-listener.patch b/luckfox-sdk-patches/board/patches/0015-adbd-no-tcp-listener.patch index 961cb4a..9bd6dbb 100644 --- a/luckfox-sdk-patches/board/patches/0015-adbd-no-tcp-listener.patch +++ b/luckfox-sdk-patches/board/patches/0015-adbd-no-tcp-listener.patch @@ -41,8 +41,8 @@ index bb72255..5f425ec 100644 +# the hash of this Makefile, adbd-current.sh, the android-tools patch set and +# the two adbd source tarballs. An adbd without a matching stamp (left in out/ +# by a build from other inputs) is built again from the regenerated source. -+# Every step below stops the rule when it fails; the stamp is written last, so -+# no binary that was not built from these inputs gets one (bfe-core1106-sdk#45). ++# The series, patch, build and copy steps stop the rule on failure; the stamp is ++# written last, so no binary that was not built from these inputs gets one (bfe-core1106-sdk#45). +ADBD_STAMP := $(CURRENT_DIR)/$(PKG_BIN)/.adbd-inputs +ADBD_INPUTS := $(shell cat $(CURRENT_DIR)/Makefile $(CURRENT_DIR)/adbd-current.sh $(CURRENT_DIR)/$(PKG_PATCHES_ANDROID_TOOLS)/* $(CURRENT_DIR)/$(PKG_TARBALL_ANDROID_TOOLS) $(CURRENT_DIR)/$(PKG_TARBALL_DEBIAN) | sha256sum | cut -d' ' -f1) +