?mode=patch&uid=2010040422290928706
Open Patch: 2010040422290928706 (by stf)
+ stf
Votecheck 'user-fake': Missing 1 qualified vote(s) (fake)
package/powerpc/yaboot/yaboot.conf
Stefan Fiedler:
	yaboot: make yaboot.rs6k even in cross-builds

Stefan Fiedler:
	yaboot: make yaboot.rs6k even in cross-builds

--- package/powerpc/yaboot/yaboot.conf	(Revision 73)
+++ package/powerpc/yaboot/yaboot.conf	(Revision 74)
@@ -28,11 +28,11 @@
 yaboot_pi(){
 	cp -v $confdir/stone_mod_yaboot.sh $root/etc/stone.d/mod_yaboot.sh
 
-	if [ "$ROCKCFG_CROSSBUILD" = 0 ] ; then
-		# create a specially prepared binary that can be run from OF directly
-		cp -v $root/$prefix/lib/yaboot/{yaboot,yaboot.rs6k}
-		$root/$prefix/lib/yaboot/addnote $root/$prefix/lib/yaboot/yaboot.rs6k
-	fi
+	# Create a specially prepared binary that can be run from OF directly.
+	# Always use native binary (important for cross-builds).
+	make addnote
+	cp -v $root/$prefix/lib/yaboot/{yaboot,yaboot.rs6k}
+	./util/addnote $root/$prefix/lib/yaboot/yaboot.rs6k
 
 	echo '$STONE yaboot yaboot_setup' > $root/etc/stone.d/setup_yaboot.sh
 }

[Download this patch]