Skip to contentSkip to conversation

powerpc/boot: Properly handle the base "of" boot wrapper

PATCH New Benjamin Herrenschmidt 1 participant 1 message Nov 6, 2013 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/boot: Properly handle the base "of" boot wrapper

The wrapper script needs an explicit rule for the "of" boot wrapper (generic wrapper, similar to pseries). Before 0c9fa29149d3726e14262aeb0c8461a948cc9d56 it was hanlded implicitly by the statement:

platformo=$object/"$platform".o

But now that epapr.o needs to be added, that doesn't work and an explicit rule must be added.

---
 arch/powerpc/boot/wrapper | 4 ++++
 1 file changed, 4 insertions(+)
arch/powerpc/boot/wrapper +4 -0
index ac16e99..2e1af74 100755
@@ -147,6 +147,10 @@ link_address='0x400000'
 make_space=y
 
 case "$platform" in
+of)
+    platformo="$object/of.o $object/epapr.o"
+    make_space=n
+    ;;
 pseries)
     platformo="$object/of.o $object/epapr.o"
     link_address='0x4000000'