Browse Source

powerpc: Update boot wrapper script with the new location of dtc

dtc was moved in 9fffb55f66127b52c937ede5196ebfa0c0d50bce from
arch/powerpc/boot/ to scripts/dtc/

This patch updates the wrapper script to point to the new location of dtc.

Signed-off-by: Lucian Adrian Grijincu <lgrijincu@ixiacom.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Lucian Adrian Grijincu 16 years ago
parent
commit
c79b29735d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      arch/powerpc/boot/wrapper

+ 2 - 1
arch/powerpc/boot/wrapper

@@ -46,6 +46,7 @@ CROSS=
 # directory for object and other files used by this script
 # directory for object and other files used by this script
 object=arch/powerpc/boot
 object=arch/powerpc/boot
 objbin=$object
 objbin=$object
+dtc=scripts/dtc/dtc
 
 
 # directory for working files
 # directory for working files
 tmpdir=.
 tmpdir=.
@@ -124,7 +125,7 @@ if [ -n "$dts" ]; then
     if [ -z "$dtb" ]; then
     if [ -z "$dtb" ]; then
 	dtb="$platform.dtb"
 	dtb="$platform.dtb"
     fi
     fi
-    $object/dtc -O dtb -o "$dtb" -b 0 "$dts"
+    $dtc -O dtb -o "$dtb" -b 0 "$dts"
 fi
 fi
 
 
 if [ -z "$kernel" ]; then
 if [ -z "$kernel" ]; then