diff --git a/openwrt/scripts/gen_deps.pl b/openwrt/scripts/gen_deps.pl
index 0983186f8614f84d2d3e0f94e076debf2c78980e..de8572c762bedc58121ad7d66331a09645afabee 100755
--- a/openwrt/scripts/gen_deps.pl
+++ b/openwrt/scripts/gen_deps.pl
@@ -22,7 +22,7 @@ while ($line = <>) {
 	$line =~ /^(Build-)?Depends: \s*(.+)\s*$/ and do {
 		$pkg{$name}->{depends} ||= [];
 		foreach my $v (split /\s+/, $2) {
-			next if $v =~ /^@/;
+			next if $v =~ /^[\+]?@/;
 			$v =~ s/^\+//;
 			push @{$pkg{$name}->{depends}}, $v;
 		}