Rosen Penev
33f87d2ef6
scripts/gen-dependencies.sh: use /bin/sh
...
This uses no special bash stuff.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-01 17:01:02 +01:00
Rosen Penev
dec46a9ea0
scripts/gen-dependencies.sh: replace backticks with $()
...
Found with shellcheck.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-01 17:00:38 +01:00
Felix Fietkau
663f2a0864
gen-dependencies.sh: fix handling variations in "file" output
...
On some systems, file adds ", with debug info" after "not stripped"
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-02-19 16:56:18 +01:00
Jo-Philipp Wich
a06f81cc3b
scripts: avoid outputting empty lines in gen-dependencies.sh
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44208
2015-01-29 22:05:31 +00:00
Jo-Philipp Wich
2e5411518f
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
2015-01-29 21:59:10 +00:00
Felix Fietkau
13f5ebaf8e
scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38860
2013-11-19 00:03:34 +00:00
Felix Fietkau
b14e0d008c
scripts/gen-dependencies.sh: use the cross readelf ( #12940 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38259
2013-09-29 20:10:42 +00:00
Felix Fietkau
1ffa67e0c6
scripts/gen-dependencies.sh: clean up temp files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37430
2013-07-19 10:41:56 +00:00
Felix Fietkau
ccebc5a091
gen-dependencies.sh: sort kmod dependencies
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37390
2013-07-18 11:57:36 +00:00
Felix Fietkau
18840ae808
build: implement kernel module dependency tracking
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37386
2013-07-18 10:47:05 +00:00
Jo-Philipp Wich
3f8fb64e60
gen-dependencies.sh: only include lib*.so* files in dependency list, to match the filtering of provides lists
...
SVN-Revision: 32272
2012-06-12 22:02:41 +00:00
Felix Fietkau
6ca6d317b3
build: add checks for missing package dependencies
...
SVN-Revision: 32185
2012-06-11 00:57:36 +00:00