scripts: gen-dependencies.sh: fix kmod dependency generation
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 29 Jan 2015 21:59:10 +0000 (21:59 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 29 Jan 2015 21:59:10 +0000 (21:59 +0000)
commit2e5411518fa6a5bed67aa9ea7e8ca87b273ab509
treeee8031909cdc845250be25bffbad2686b2ec4d50
parent46b1577bfc903fcd8c301124e62a61d85e42e0cd
scripts: gen-dependencies.sh: fix kmod dependency generation

Do not output faulty ".ko" dependency if a scanned .ko file has an empty
"depends=" specification, also replace the `grep | sed | awk` chain with a
single sed program.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44206
scripts/gen-dependencies.sh