diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-05-31 16:01:46 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-05-31 16:01:46 +0000 |
commit | 69ae98b46ec77c81215a3c334fd0f85df4888a4c (patch) | |
tree | 460661226ea23e959d2cfbac10dff5c1b12b2fd7 /package/rules.mk | |
parent | 50f793994e7020271ffd7b27aced6479be9769eb (diff) |
move target/linux/package/switch to package/, fix a bug in the ipkg dependency handling
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3864 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rules.mk')
-rw-r--r-- | package/rules.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/rules.mk b/package/rules.mk index 26b41969d9..e2e0777da4 100644 --- a/package/rules.mk +++ b/package/rules.mk @@ -134,8 +134,7 @@ define BuildPackage echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control ( \ DEPENDS=; \ - for depend in $$(IDEPEND_$(1)); do \ - [ "$$$${depend%%%%%%%%[A-Za-z]*}" = "@" ] && continue; \ + for depend in $$(filter-out @%,$$(IDEPEND_$(1))); do \ DEPENDS=$$$${DEPENDS:+$$$$DEPENDS, }$$$${depend##+}; \ done; \ echo "Depends: $$$$DEPENDS" >> $$(IDIR_$(1))/CONTROL/control; \ |