build-correct-arch-modules.patch
authorAndy Green <andy@openmoko.com>
Fri, 21 Nov 2008 11:56:56 +0000 (11:56 +0000)
committerAndy Green <agreen@pads.home.warmcat.com>
Fri, 21 Nov 2008 11:56:56 +0000 (11:56 +0000)
Signed-off-by: Andy Green <andy@openmoko.com>
build

diff --git a/build b/build
index 60fc018..a0f60e5 100755 (executable)
--- a/build
+++ b/build
@@ -55,7 +55,7 @@ if make -j5 ARCH=arm CONFIG_DEBUG_SECTION_MISMATCH=y EXTRAVERSION=$VERSION; then
                rm -rf staging
                mkdir -p staging
                if [ ! -z "$1" ] ; then
-                       make modules_install INSTALL_MOD_PATH=staging
+                       make ARCH=arm modules_install INSTALL_MOD_PATH=staging
                        cd staging
                        tar czf ../modules$VERSION.tar.gz .
                        cd ..