aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check-config.sh')
-rwxr-xr-xscripts/check-config.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/check-config.sh b/scripts/check-config.sh
index 4848ca6e25..583f7d0963 100755
--- a/scripts/check-config.sh
+++ b/scripts/check-config.sh
@@ -17,6 +17,15 @@
17set -e 17set -e
18set -u 18set -u
19 19
20PROG_NAME="${0##*/}"
21
22usage() {
23 echo "$PROG_NAME <path to u-boot.cfg> <path to whitelist file> <source dir>"
24 exit 1
25}
26
27[ $# -ge 3 ] || usage
28
20path="$1" 29path="$1"
21whitelist="$2" 30whitelist="$2"
22srctree="$3" 31srctree="$3"