summaryrefslogtreecommitdiff
path: root/bsp/update-targets.sh
diff options
context:
space:
mode:
authorBunnaroath Sou <35707615+bsousi5@users.noreply.github.com>2019-05-20 14:39:42 -0700
committerGitHub <noreply@github.com>2019-05-20 14:39:42 -0700
commit615a076df87a021c07e6e3bfecca3ad4f27a76bb (patch)
tree8012100cd786c31074d8bef0a8c5e699c4f1e3e5 /bsp/update-targets.sh
parent44c4b9b6383f788fd29de5852cc645f0c76687a4 (diff)
parent6af51ca7b09c8e5b7e1933700b1d855893ca42b1 (diff)
Merge pull request #240 from sifive/inline-fnvec
Updating BSP to pickup FDT inline support for generates metal files
Diffstat (limited to 'bsp/update-targets.sh')
-rwxr-xr-xbsp/update-targets.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/bsp/update-targets.sh b/bsp/update-targets.sh
index b05731a..27f1e28 100755
--- a/bsp/update-targets.sh
+++ b/bsp/update-targets.sh
@@ -11,6 +11,15 @@ $0: BSP Generator for the SiFive Freedom E SDK
EOF
}
+warn () {
+ echo "$0:" "$@" >&2
+}
+die () {
+ shift
+ warn "$@"
+ exit 1
+}
+
unset DTSFILE
unset CUSTOM_PATH
unset CUSTOM_NAME