aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-18 11:57:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-18 11:57:36 +0000
commitd32395794d06c4401569338900408085fe09f08a (patch)
tree8c4a5f8ea1515b6fa993b241334618262c7d9284 /scripts
parent7be0ba5341146f05a81cadbc91607053252ca7df (diff)
downloadmaster-187ad058-d32395794d06c4401569338900408085fe09f08a.tar.gz
master-187ad058-d32395794d06c4401569338900408085fe09f08a.tar.bz2
master-187ad058-d32395794d06c4401569338900408085fe09f08a.zip
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
Diffstat (limited to 'scripts')
-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