changeset 112:7889b25745fa

Beat on the build to make readelf and ldd build for cross-mipsel.
author Rob Landley <rob@landley.net>
date Mon, 26 Feb 2007 17:57:27 -0500
parents cf2341a95dd5
children 46e794241456
files cross-compiler.sh
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cross-compiler.sh	Mon Feb 26 16:03:05 2007 -0500
+++ b/cross-compiler.sh	Mon Feb 26 17:57:27 2007 -0500
@@ -77,6 +77,9 @@
 # host binary against the target library, and use the target compiler flags
 # (neither of which is going to produce a working host binary).  The solution
 # is to bypass the broken build entirely, and do it by hand.
+make distclean &&
+make allnoconfig &&
+make headers KERNEL_HEADERS="${CROSS}/include" &&
 $CC -Os -s -I include utils/readelf.c -o readelf &&
 $CC -Os -s -I ldso/include utils/ldd.c -o ldd &&
 cd .. &&