projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch '2019-10-24-ti-imports'
[oweals/u-boot.git]
/
scripts
/
check-config.sh
diff --git
a/scripts/check-config.sh
b/scripts/check-config.sh
index 4848ca6e25a59f6b6602166d6f3d329ec9b2b4d6..583f7d0963c38212faad4a56e33b896619d59168 100755
(executable)
--- a/
scripts/check-config.sh
+++ b/
scripts/check-config.sh
@@
-17,6
+17,15
@@
set -e
set -u
+PROG_NAME="${0##*/}"
+
+usage() {
+ echo "$PROG_NAME <path to u-boot.cfg> <path to whitelist file> <source dir>"
+ exit 1
+}
+
+[ $# -ge 3 ] || usage
+
path="$1"
whitelist="$2"
srctree="$3"