testing: Force the UML Kernel to x86.
authorTobias Brunner <tobias@strongswan.org>
Tue, 3 Aug 2010 14:33:55 +0000 (16:33 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 2 Sep 2010 17:04:22 +0000 (19:04 +0200)
testing/scripts/build-umlkernel

index 7a98fc6..185545b 100755 (executable)
@@ -119,10 +119,10 @@ cp $KERNELCONFIG .config
 cecho "!!"
 cecho "!! Making .config for kernel. You might be prompted for new parameters!"
 cecho "!!"
-make oldconfig ARCH=um >> $LOGFILE 2>&1
+make oldconfig ARCH=um SUBARCH=i386 >> $LOGFILE 2>&1
 
 cecho-n " * Now compiling uml kernel.."
-make linux ARCH=um  >> $LOGFILE 2>&1
+make linux ARCH=um SUBARCH=i386 >> $LOGFILE 2>&1
 cgecho "done"
 
 cecho-n " * Copying uml kernel to '${BUILDDIR}/linux-uml-${KERNELVERSION}'.."