Skip to contentSkip to conversation

powerpc: update wrapper to point to the new location of dtc

PATCH New Lucian Adrian Grijincu 1 participant 1 message Jul 22, 2009 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: update wrapper to point to 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.

---
 arch/powerpc/boot/wrapper |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/powerpc/boot/wrapper +2 -1
index e964489..c907540 100755
@@ -46,6 +46,7 @@ CROSS=
 # directory for object and other files used by this script
 object=arch/powerpc/boot
 objbin=$object
+dtc=scripts/dtc/dtc
 
 # directory for working files
 tmpdir=.
@@ -124,7 +125,7 @@ if [ -n "$dts" ]; then
     if [ -z "$dtb" ]; then
 	dtb="$platform.dtb"
     fi
-    $object/dtc -O dtb -o "$dtb" -b 0 "$dts"
+    $dtc -O dtb -o "$dtb" -b 0 "$dts"
 fi
 
 if [ -z "$kernel" ]; then