summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-18 11:57:36 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-18 11:57:36 +0000
commit748c0768f0f559aae3cdb700b11a6938c80f5ff8 (patch)
tree8c4a5f8ea1515b6fa993b241334618262c7d9284
parent62ec2d6c71ca5cea6d06d9927780b24362643d73 (diff)
gen-dependencies.sh: sort kmod dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37390 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xscripts/gen-dependencies.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen-dependencies.sh b/scripts/gen-dependencies.sh
index f324ba6c44..53c80cd837 100755
--- a/scripts/gen-dependencies.sh
+++ b/scripts/gen-dependencies.sh
@@ -31,4 +31,4 @@ 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" }'
-done
+done | sort -u