Commit 701172d1 authored by David Woodhouse's avatar David Woodhouse Committed by Paul Mackerras

[POWERPC] Find device-tree source file in default directory

If a .dts file is given to the bootwrapper script without a full path
name, look in a sensible place for it.
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 928b9695
......@@ -116,6 +116,9 @@ while [ "$#" -gt 0 ]; do
done
if [ -n "$dts" ]; then
if [ ! -r "$dts" -a -r "$object/dts/$dts" ]; then
dts="$object/dts/$dts"
fi
if [ -z "$dtb" ]; then
dtb="$platform.dtb"
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment