Skip to content

Commit

Permalink
scripts: Filter out duplicates in supported dtb list
Browse files Browse the repository at this point in the history
  • Loading branch information
TravMurav committed Aug 24, 2024
1 parent 95a7b68 commit 3c55487
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/get_supported_dtbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2024 Nikita Travkin <[email protected]>

cd "$(dirname $0)/.."
cd "$(dirname $0)/.."

grep -h -E ".dtb +=" src/devices/* | sed -e 's/.*L"\(.*\)",/\1/' -e 's_\\\\_/_' | grep -v Tentative
grep -h -E ".dtb +=" src/devices/* \
| sed -e 's/.*L"\(.*\)",/\1/' -e 's_\\\\_/_' \
| grep -v Tentative \
| sort -u

0 comments on commit 3c55487

Please sign in to comment.