summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xallmake.sh6
-rwxr-xr-xmodmake.sh3
-rw-r--r--override.mod5
3 files changed, 12 insertions, 2 deletions
diff --git a/allmake.sh b/allmake.sh
index c01de51..ba8af0c 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"
@@ -42,9 +42,11 @@ done
#
for a in x86_64 i386; do
if [ "$a" = i386 ]; then gccopt=' -m32'; else gccopt=''; fi
- mkdir -p o.$a-allconfig o.$a-noconfig
+ mkdir -p o.$a-allconfig o.$a-modconfig $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-modconfig 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