diff options
Diffstat (limited to 'allmake.sh')
-rwxr-xr-x | allmake.sh | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -14,7 +14,7 @@ if [ -z "$ALL" ]; then ALL="$canned $special" fi -here=`dirname "$0"` +here="$(cd "$(dirname "$0")" && pwd)" if [ -z "$JOBS" ]; then cpus=$(grep '^processor' < /proc/cpuinfo | wc -l) @@ -45,13 +45,9 @@ done for a in x86_64 i386; do if [ "$a" = i386 ]; then gccopt=' -m32'; else gccopt=''; fi mkdir -p o.$a-allconfig o.$a-modconfig 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-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 + KCONFIG_ALLCONFIG="$here"/override.yes make ARCH=$a O=o.$a-allconfig CC="$gcc$gccopt" allyesconfig + KCONFIG_ALLCONFIG="$here"/override.mod make ARCH=$a O=o.$a-modconfig CC="$gcc$gccopt" allmodconfig + KCONFIG_ALLCONFIG="$here"/override.no make ARCH=$a O=o.$a-noconfig CC="$gcc$gccopt" allnoconfig done MKFILE=/tmp/allmake.$$ |