[PATCH] build: exclude apk-* packaging dir from build autoclean
Karsten Sperling
ksperling at apple.com
Mon Aug 3 16:27:09 PDT 2026
Build/Autoclean's rebuild check (STAMP_BUILT rdep) excludes */ipkg* and wasn't
updated during the transition to APK. Add */apk-* to avoid spurious rebuilds.
Signed-off-by: Karsten Sperling <ksperling at apple.com>
---
include/package.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/package.mk b/include/package.mk
index a8278d0672..68b0d1c088 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -183,7 +183,7 @@ ifeq ($(DUMP)$(filter prereq clean refresh update,$(MAKECMDGOALS)),)
define Build/Autoclean
$(PKG_BUILD_DIR)/.dep_files: $(STAMP_PREPARED)
$(call rdep,${CURDIR} $(PKG_FILE_DEPENDS),$(STAMP_PREPARED),$(PKG_BUILD_DIR)/.dep_files,-x "*/.dep_*")
- $(if $(filter prepare,$(MAKECMDGOALS)),,$(call rdep,$(PKG_BUILD_DIR),$(STAMP_BUILT),,-x "*/.dep_*" -x "*/ipkg*"))
+ $(if $(filter prepare,$(MAKECMDGOALS)),,$(call rdep,$(PKG_BUILD_DIR),$(STAMP_BUILT),,-x "*/.dep_*" -x "*/ipkg*" -x "*/apk-*"))
endef
endif
endif
--
2.50.1 (Apple Git-155)
More information about the openwrt-devel
mailing list