[openwrt/openwrt] build: filter out own packages on package version check

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 15 15:10:56 EST 2021


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c68d52799110262698734882bc50d960e3108eca

commit c68d52799110262698734882bc50d960e3108eca
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Feb 15 21:09:49 2021 +0100

    build: filter out own packages on package version check
    
    This was accidentally dropped in 27a4a71c2408
    ("metadata: handle ABI version rebuild tracking for transient dependencies")
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 include/package.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/package.mk b/include/package.mk
index d38d52908e..db0a869dab 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -58,7 +58,7 @@ include $(INCLUDE_DIR)/quilt.mk
 
 find_library_dependencies = \
 	$(wildcard $(patsubst %,$(STAGING_DIR)/pkginfo/%.version, \
-		$(sort $(foreach dep4, \
+		$(filter-out $(BUILD_PACKAGES), $(sort $(foreach dep4, \
 			$(sort $(foreach dep3, \
 				$(sort $(foreach dep2, \
 					$(sort $(foreach dep1, \
@@ -73,7 +73,7 @@ find_library_dependencies = \
 				$(Package/$(dep3)/depends) $(dep3) \
 			)), \
 			$(Package/$(dep4)/depends) $(dep4) \
-		)) \
+		))) \
 	))
 
 



More information about the lede-commits mailing list