diff options
| author | Nicolas Thill <nico@openwrt.org> | 2006-05-28 22:58:07 +0000 |
|---|---|---|
| committer | Nicolas Thill <nico@openwrt.org> | 2006-05-28 22:58:07 +0000 |
| commit | 139852b0f80aa24acf3fa9b8044478ece077c25c (patch) | |
| tree | 85178cbe69c5dd7fa352c42d27d772e72b49aead /openwrt | |
| parent | 2d41202df521fa00723089d256737245c8c414d1 (diff) | |
| download | mtk-20170518-139852b0f80aa24acf3fa9b8044478ece077c25c.zip mtk-20170518-139852b0f80aa24acf3fa9b8044478ece077c25c.tar.gz mtk-20170518-139852b0f80aa24acf3fa9b8044478ece077c25c.tar.bz2 | |
add dependencies from the NEEDS variable to ipkg/control
SVN-Revision: 3831
Diffstat (limited to 'openwrt')
| -rw-r--r-- | openwrt/package/rules.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/package/rules.mk b/openwrt/package/rules.mk index 4999974..9b55172 100644 --- a/openwrt/package/rules.mk +++ b/openwrt/package/rules.mk @@ -134,7 +134,8 @@ define BuildPackage mkdir -p $$(IDIR_$(1))/CONTROL echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control - echo "Depends: $$(IDEPEND_$(1))" >> $$(IDIR_$(1))/CONTROL/control + #FIXME: there should be a better way to do it + D="$$(IDEPEND_$(1))"; D="$$$${D}$$$${D:+, }$$(INEED_$(1))"; echo "Depends: $$$${D}" >> $$(IDIR_$(1))/CONTROL/control echo "Source: $(SOURCE)" >> $$(IDIR_$(1))/CONTROL/control echo "Section: $(SECTION)" >> $$(IDIR_$(1))/CONTROL/control echo "Priority: $(PRIORITY)" >> $$(IDIR_$(1))/CONTROL/control |
