projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
928b969
)
[POWERPC] Find device-tree source file in default directory
author
David Woodhouse
<dwmw2@infradead.org>
Mon, 3 Dec 2007 02:49:24 +0000
(13:49 +1100)
committer
Paul Mackerras
<paulus@samba.org>
Thu, 6 Dec 2007 03:44:30 +0000
(14:44 +1100)
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>
arch/powerpc/boot/wrapper
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/boot/wrapper
b/arch/powerpc/boot/wrapper
index 221b8c87f57ebba1b556894b52f36502a358c62d..b8e4856af7594504c05a6ffff54572c167229c06 100755
(executable)
--- a/
arch/powerpc/boot/wrapper
+++ b/
arch/powerpc/boot/wrapper
@@
-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