From: Felix Fietkau Date: Mon, 15 Feb 2021 20:09:49 +0000 (+0100) Subject: build: filter out own packages on package version check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c68d52799110262698734882bc50d960e3108eca;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- 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) \ - )) \ + ))) \ ))