gen-dependencies.sh: sort kmod dependencies

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37390
This commit is contained in:
Felix Fietkau 2013-07-18 11:57:36 +00:00
parent b44ece50d4
commit ccebc5a091

View File

@ -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