summaryrefslogtreecommitdiff
path: root/include/package.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-25 19:45:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-25 19:45:22 +0000
commit1c9fe80ed48af1a1a11ee113f9a98a81b3ecf5f5 (patch)
tree6cce0c7e604033f8daaff01d8ba6dc0bca6aeec8 /include/package.mk
parent9b6e2862b6c455afc9d39576641705c5d06671f8 (diff)
downloadmtk-20170518-1c9fe80ed48af1a1a11ee113f9a98a81b3ecf5f5.zip
mtk-20170518-1c9fe80ed48af1a1a11ee113f9a98a81b3ecf5f5.tar.gz
mtk-20170518-1c9fe80ed48af1a1a11ee113f9a98a81b3ecf5f5.tar.bz2
fix pesky kmod-* ipkg install bug
SVN-Revision: 5639
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/package.mk b/include/package.mk
index 4e67e73..6960646 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -208,11 +208,11 @@ define BuildPackage
echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control
echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control
( \
- DEPENDS=; \
+ DEPENDS='$(EXTRA_DEPENDS)'; \
for depend in $$(filter-out @%,$$(IDEPEND_$(1))); do \
DEPENDS=$$$${DEPENDS:+$$$$DEPENDS, }$$$${depend##+}; \
done; \
- echo "Depends: $(EXTRA_DEPENDS) $$$$DEPENDS" >> $$(IDIR_$(1))/CONTROL/control; \
+ echo "Depends: $$$$DEPENDS" >> $$(IDIR_$(1))/CONTROL/control; \
)
echo "Source: $(SOURCE)" >> $$(IDIR_$(1))/CONTROL/control
echo "Section: $(SECTION)" >> $$(IDIR_$(1))/CONTROL/control