diff --git a/package/powerpc/yaboot/cross-compile.patch b/package/powerpc/yaboot/cross-compile.patch index 07aa0f2ac..27a269ce0 100644 --- a/package/powerpc/yaboot/cross-compile.patch +++ b/package/powerpc/yaboot/cross-compile.patch @@ -1,14 +1,3 @@ ---- ./Makefile~ 2006-03-16 19:26:56.000000000 +0100 -+++ ./Makefile 2006-03-16 19:36:00.000000000 +0100 -@@ -26,7 +26,7 @@ - # Set this to the prefix of your cross-compiler, if you have one. - # Else leave it empty. - # --CROSS = -+CROSS = powerpc-unknown-linux-gnu- - - # The flags for the yaboot binary. - # --- yaboot-1.3.13/Makefile~ 2006-03-16 19:38:24.000000000 +0100 +++ yaboot-1.3.13/Makefile 2006-03-16 19:40:45.000000000 +0100 @@ -172,10 +172,10 @@ diff --git a/package/powerpc/yaboot/yaboot.conf b/package/powerpc/yaboot/yaboot.conf index 68af8bc94..b5fe814fd 100644 --- a/package/powerpc/yaboot/yaboot.conf +++ b/package/powerpc/yaboot/yaboot.conf @@ -39,5 +39,7 @@ yaboot_premake() { # tell yaboot how to cross-compile sed -i "s,^ROOT =,ROOT = $xroot," Makefile sed -i "s,^CROSS =,CROSS = $archprefix," Makefile + else + sed -i "s,^ROOT =,ROOT = $root," Makefile fi }