diff options
author | Warner Losh <imp@FreeBSD.org> | 2014-04-30 20:47:40 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2014-04-30 20:47:40 +0000 |
commit | 56d78e82f023cadde8c9d1829b02106de343190e (patch) | |
tree | a6e7ccbd7191984ef9a6b224b85e8fe43060768b /sys/tools/fdt | |
parent | 51ad63daae75fb736d328592043cc8e36cac3f89 (diff) | |
download | src-56d78e82f023cadde8c9d1829b02106de343190e.tar.gz src-56d78e82f023cadde8c9d1829b02106de343190e.zip |
Notes
Diffstat (limited to 'sys/tools/fdt')
-rwxr-xr-x | sys/tools/fdt/make_dtb.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/tools/fdt/make_dtb.sh b/sys/tools/fdt/make_dtb.sh index 278b7bb6d15b..272c19b94070 100755 --- a/sys/tools/fdt/make_dtb.sh +++ b/sys/tools/fdt/make_dtb.sh @@ -7,6 +7,11 @@ S=$1 dts="$2" dtb_path=$3 +if [ -n "$dts" ]; then + echo "No DTS specified" + exit 1 +fi + for d in ${dts}; do dtb=${dtb_path}/`basename $d .dts`.dtb echo "converting $d -> $dtb" |