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

login
register
mail settings
Submitter Lucian Adrian Grijincu
Date July 23, 2009, 10:13 a.m.
Message ID <4A6837D1.3070604@ixiacom.com>
Download mbox | patch
Permalink /patch/30134/
State Accepted
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Lucian Adrian Grijincu - July 23, 2009, 10:13 a.m.
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>
---
  arch/powerpc/boot/wrapper |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
index e964489..c907540 100755
--- a/arch/powerpc/boot/wrapper
+++ b/arch/powerpc/boot/wrapper
@@ -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