target/sdk: remove obsolete compatibility makefiles
[openwrt.git] / scripts / gen-dependencies.sh
index 889255a..85962e7 100755 (executable)
@@ -31,5 +31,5 @@ for kmod in `find $TARGETS -type f -name \*.ko`; do
                egrep -a '^depends=' | \
                sed -e 's,^depends=,,' -e 's/,/\n/g' | \
                awk '{ print $1 ".ko" }'
-       rm -f $tmp
 done | sort -u
+rm -f $tmp