aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gen-deps.sh
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-10-09 14:28:36 +0000
committerLaurent Bercot <ska@appnovation.com>2024-10-09 14:28:36 +0000
commit59bf5341790b98413caf9fdd6c99a760bebc075d (patch)
tree5f82b27bd6ad5b5df07157d119623b060cae387c /tools/gen-deps.sh
parent69f6e33e931e0302c94ceea83c691644d64a943d (diff)
downloads6-linux-init-59bf5341790b98413caf9fdd6c99a760bebc075d.tar.gz
version: 1.1.2.1v1.1.2.1
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'tools/gen-deps.sh')
-rwxr-xr-xtools/gen-deps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh
index cff90ad..befe021 100755
--- a/tools/gen-deps.sh
+++ b/tools/gen-deps.sh
@@ -72,7 +72,7 @@ for dir in $(ls -1 src | grep -v ^include) ; do
echo else
echo "lib${file}.a.xyzzy:$(echo "$deps" | sed 's/\.o/.lo/g')"
echo endif
- if grep -F "LIB_DEFS :=" package/targets.mak | grep -qF "$file" ; then
+ if grep -E "^LIB_DEFS [+:]=" package/targets.mak | grep -qF "$file" ; then
echo "lib${file}.so.xyzzy: EXTRA_LIBS :=$libs"
echo "lib${file}.so.xyzzy:$(echo "$deps" | sed 's/\.o/.lo/g')"
else