mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +00:00
[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: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
928b969559
commit
701172d1b8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user