diff options
author | 2008-07-28 14:48:30 -0700 | |
---|---|---|
committer | 2008-07-28 14:48:30 -0700 | |
commit | 27407030ff2bbb253309726770444a60d2d032d0 (patch) | |
tree | 4d5c2d4134badfc5829f94cdb4f5f3dab2bbc13b /defaults/config.sh | |
parent | Moved architecture folders under the arch subfolder. (diff) | |
download | genkernel-27407030ff2bbb253309726770444a60d2d032d0.tar.gz genkernel-27407030ff2bbb253309726770444a60d2d032d0.tar.bz2 genkernel-27407030ff2bbb253309726770444a60d2d032d0.zip |
Added a defaults directory to store default files for builds. These are overridden by architecture or module specific parameters. This should end up reducing the amount of architecture-specific files needed, especially as most of them have files which are (nearly) identical.
Diffstat (limited to 'defaults/config.sh')
-rw-r--r-- | defaults/config.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/defaults/config.sh b/defaults/config.sh new file mode 100644 index 00000000..df72b1b5 --- /dev/null +++ b/defaults/config.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +# +# Arch-specific options that normally shouldn't be changed. +# +KERNEL_MAKE_DIRECTIVE="bzImage" +KERNEL_MAKE_DIRECTIVE_2="" +KERNEL_BINARY="arch/i386/boot/bzImage" + +COMPRESS_INITRD=yes + +# +# Arch-specific defaults that can be overridden in the config file or on the +# command line. +# +DEFAULT_MAKEOPTS="-j2" + +DEFAULT_KERNEL_MAKE=make +DEFAULT_UTILS_MAKE=make + +DEFAULT_KERNEL_CC=gcc +DEFAULT_KERNEL_AS=as +DEFAULT_KERNEL_LD=ld + +DEFAULT_UTILS_CC=gcc +DEFAULT_UTILS_AS=as +DEFAULT_UTILS_LD=ld |