summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-05-24 21:32:13 (GMT)
committerH. Peter Anvin <hpa@linux.intel.com>2010-05-24 21:32:13 (GMT)
commit1b1f1a1044b3a0024bc0eef396a76b601ca5709b (patch)
tree80e5bd5f5c6e860f7a0c6dfe817746ace29b3852
parente3fe082d7dfd32e37451a6019a20d4caddf72240 (diff)
downloadktest-1b1f1a1044b3a0024bc0eef396a76b601ca5709b.zip
ktest-1b1f1a1044b3a0024bc0eef396a76b601ca5709b.tar.gz
ktest-1b1f1a1044b3a0024bc0eef396a76b601ca5709b.tar.bz2
ktest-1b1f1a1044b3a0024bc0eef396a76b601ca5709b.tar.xz
Add allmodconfig
-rwxr-xr-xallmake.sh4
-rwxr-xr-xmodmake.sh3
-rw-r--r--override.mod5
3 files changed, 11 insertions, 1 deletions
diff --git a/allmake.sh b/allmake.sh
index c01de51..2b84144 100755
--- a/allmake.sh
+++ b/allmake.sh
@@ -8,7 +8,7 @@ fi
set -xe
canned='i386 x86_64 i386-pae'
-special='i386-allconfig x86_64-allconfig i386-noconfig x86_64-noconfig'
+special='i386-allconfig x86_64-allconfig i386-modconfig x86_64-modconfig i386-noconfig x86_64-noconfig'
if [ -z "$ALL" ]; then
ALL="$canned $special"
@@ -45,6 +45,8 @@ for a in x86_64 i386; do
mkdir -p o.$a-allconfig o.$a-noconfig
export KCONFIG_ALLCONFIG="$here"/override.yes
make ARCH=$a O=o.$a-allconfig CC="$gcc$gccopt" allyesconfig
+ export KCONFIG_ALLCONFIG="$here"/override.mod
+ make ARCH=$a O=o.$a-allconfig CC="$gcc$gccopt" allmodconfig
export KCONFIG_ALLCONFIG="$here"/override.no
make ARCH=$a O=o.$a-noconfig CC="$gcc$gccopt" allnoconfig
unset KCONFIG_ALLCONFIG
diff --git a/modmake.sh b/modmake.sh
new file mode 100755
index 0000000..824d75b
--- /dev/null
+++ b/modmake.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+here=`dirname "$0"`
+ALL='x86_64-modconfig i386-modconfig' exec "$here"/allmake.sh
diff --git a/override.mod b/override.mod
new file mode 100644
index 0000000..00ee024
--- /dev/null
+++ b/override.mod
@@ -0,0 +1,5 @@
+CONFIG_DEBUG_INFO=n
+CONFIG_CMDLINE_BOOL=n
+CONFIG_BROKEN=n
+CONFIG_SERIAL_MAX3100=n
+CONFIG_FEALNX=n