From 804011d813f86ef64bf77542ae5f9729c05c7c2b Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 3 Oct 2006 12:29:22 +0000
Subject: [PATCH] ignore kernel and base-files depends, both don't install
 anything into the staging dir

SVN-Revision: 4890
---
 openwrt/scripts/gen_deps.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/openwrt/scripts/gen_deps.pl b/openwrt/scripts/gen_deps.pl
index 0cdcc97a14..70c07b70a8 100755
--- a/openwrt/scripts/gen_deps.pl
+++ b/openwrt/scripts/gen_deps.pl
@@ -62,6 +62,7 @@ foreach $name (sort {uc($a) cmp uc($b)} keys %pkg) {
 		} elsif (defined($pkg{$dep}) && !$options{SDK}) {
 			$idx = $dep;
 		}
+		undef $idx if $idx =~ /^(kernel)|(base-files)$/;
 		if ($idx) {
 			next if $dep{$pkg{$name}->{src}."->".$idx};
 			$depline .= " $idx\-compile";
-- 
2.30.2