mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-22 10:01:03 +00:00
build: fix compile error when a package includes itself in PROVIDES
Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit 7c306ae640feb4d42b352175de27b034bd917938)
This commit is contained in:
parent
aee5c53a8d
commit
21c317a892
@ -196,7 +196,7 @@ $(_endef)
|
|||||||
fi; \
|
fi; \
|
||||||
done; $(Package/$(1)/extra_provides) \
|
done; $(Package/$(1)/extra_provides) \
|
||||||
) | sort -u > $(PKG_INFO_DIR)/$(1).provides
|
) | sort -u > $(PKG_INFO_DIR)/$(1).provides
|
||||||
$(if $(PROVIDES),@for pkg in $(PROVIDES); do cp $(PKG_INFO_DIR)/$(1).provides $(PKG_INFO_DIR)/$$$$pkg.provides; done)
|
$(if $(PROVIDES),@for pkg in $(filter-out $(1),$(PROVIDES)); do cp $(PKG_INFO_DIR)/$(1).provides $(PKG_INFO_DIR)/$$$$pkg.provides; done)
|
||||||
$(CheckDependencies)
|
$(CheckDependencies)
|
||||||
|
|
||||||
$(RSTRIP) $$(IDIR_$(1))
|
$(RSTRIP) $$(IDIR_$(1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user