aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-ipkg.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-05 16:41:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-05 16:41:38 +0000
commitc6ebce701ee60aa194e1736e63c081baa3fd1644 (patch)
tree845f890b4dc32292ef371210aeb7d1d87eae5f55 /include/package-ipkg.mk
parent5e4789671ae4ecd9d2eb239e865f15ef60232287 (diff)
downloadupstream-c6ebce701ee60aa194e1736e63c081baa3fd1644.tar.gz
upstream-c6ebce701ee60aa194e1736e63c081baa3fd1644.tar.bz2
upstream-c6ebce701ee60aa194e1736e63c081baa3fd1644.zip
build: propagate package conflicts to opkg metadata
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42771
Diffstat (limited to 'include/package-ipkg.mk')
-rw-r--r--include/package-ipkg.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 7cea44af65..a4901b583f 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -160,6 +160,11 @@ ifeq ($(DUMP),)
DEPENDS=$$$${DEPENDS:+$$$$DEPENDS, }$$$${depend##+}; \
done; \
[ -z "$$$$DEPENDS" ] || echo "Depends: $$$$DEPENDS"; \
+ CONFLICTS=''; \
+ for conflict in $(CONFLICTS); do \
+ CONFLICTS=$$$${CONFLICTS:+$$$$CONFLICTS, }$$$$conflict; \
+ done; \
+ [ -z "$$$$CONFLICTS" ] || echo "Conflicts: $$$$CONFLICTS"; \
$(if $(PROVIDES), echo "Provides: $(PROVIDES)"; ) \
echo "Source: $(SOURCE)"; \
$(if $(PKG_LICENSE), echo "License: $(PKG_LICENSE)"; ) \