summaryrefslogtreecommitdiff
path: root/scripts/gen-dependencies.sh
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
commitccebc5a091d95af723c5545dd7b071d3b7027531 (patch)
treed6615e40e4b09d1aa420eb02588df925e1a5be1c /scripts/gen-dependencies.sh
parentb44ece50d422dbd8e4faa602baa1a1166c5d4ae7 (diff)
downloadmtk-20170518-ccebc5a091d95af723c5545dd7b071d3b7027531.zip
mtk-20170518-ccebc5a091d95af723c5545dd7b071d3b7027531.tar.gz
mtk-20170518-ccebc5a091d95af723c5545dd7b071d3b7027531.tar.bz2
gen-dependencies.sh: sort kmod dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37390
Diffstat (limited to 'scripts/gen-dependencies.sh')
-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 f324ba6..53c80cd 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