aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2007-07-26 03:00:40 +0000
committerAndrew Gaffney <agaffney@gentoo.org>2007-07-26 03:00:40 +0000
commit1bdb11467f6c44f493733b3394ff1a7271b51dd5 (patch)
treeabcfc6407582bf59f15249b67536d61663905051 /gen_compile.sh
parentPatch to compare new config instead of the one left laying around in the kern... (diff)
downloadgenkernel-1bdb11467f6c44f493733b3394ff1a7271b51dd5.tar.gz
genkernel-1bdb11467f6c44f493733b3394ff1a7271b51dd5.tar.bz2
genkernel-1bdb11467f6c44f493733b3394ff1a7271b51dd5.zip
enable CONFIG_INSMOD in all arch busy-config files
disable building of static insmod and remove all code related to it git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@521 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'gen_compile.sh')
-rw-r--r--gen_compile.sh108
1 files changed, 0 insertions, 108 deletions
diff --git a/gen_compile.sh b/gen_compile.sh
index ee1299d9..665e2d12 100644
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -593,114 +593,6 @@ compile_suspend() {
rm -rf bincache suspend-0.5
}
-compile_modutils() {
- # I've disabled dietlibc support for the time being since the
- # version we use misses a few needed system calls.
-
- local ARGS
- if [ ! -f "${MODUTILS_BINCACHE}" ]
- then
- [ ! -f "${MODUTILS_SRCTAR}" ] &&
- gen_die "Could not find modutils source tarball: ${MODUTILS_SRCTAR}!"
- cd "${TEMP}"
- rm -rf "${MODUTILS_DIR}"
- /bin/tar -jxpf "${MODUTILS_SRCTAR}"
- [ ! -d "${MODUTILS_DIR}" ] &&
- gen_die "Modutils directory ${MODUTILS_DIR} invalid!"
- cd "${MODUTILS_DIR}"
- print_info 1 "modutils: >> Configuring..."
-
-# if [ "${USE_DIETLIBC}" -eq '1' ]
-# then
-# extract_dietlibc_bincache
-# OLD_CC="${UTILS_CC}"
-# UTILS_CC="${TEMP}/diet/bin/diet ${UTILS_CC}"
-# fi
-
- export_utils_args
- export ARCH=${ARCH}
- ./configure --disable-combined --enable-insmod-static >> ${DEBUGFILE} 2>&1 ||
- gen_die 'Configuring modutils failed!'
- unset_utils_args
-
- print_info 1 'modutils: >> Compiling...'
- compile_generic all utils
-
-# if [ "${USE_DIETLIBC}" -eq '1' ]
-# then
-# clean_dietlibc_bincache
-# UTILS_CC="${OLD_CC}"
-# fi
-
- print_info 1 'modutils: >> Copying to cache...'
- [ -f "${TEMP}/${MODUTILS_DIR}/insmod/insmod.static" ] ||
- gen_die 'insmod.static does not exist after the compilation of modutils!'
- strip "${TEMP}/${MODUTILS_DIR}/insmod/insmod.static" ||
- gen_die 'Could not strip insmod.static!'
- bzip2 "${TEMP}/${MODUTILS_DIR}/insmod/insmod.static" ||
- gen_die 'Compression of insmod.static failed!'
- mv "${TEMP}/${MODUTILS_DIR}/insmod/insmod.static.bz2" "${MODUTILS_BINCACHE}" ||
- gen_die 'Could not move the compressed insmod binary to the package cache!'
-
- cd "${TEMP}"
- rm -rf "${MODULE_INIT_TOOLS_DIR}" > /dev/null
- fi
-}
-
-compile_module_init_tools() {
- # I've disabled dietlibc support for the time being since the
- # version we use misses a few needed system calls.
-
- local ARGS
- if [ ! -f "${MODULE_INIT_TOOLS_BINCACHE}" ]
- then
- [ ! -f "${MODULE_INIT_TOOLS_SRCTAR}" ] &&
- gen_die "Could not find module-init-tools source tarball: ${MODULE_INIT_TOOLS_SRCTAR}"
- cd "${TEMP}"
- rm -rf "${MODULE_INIT_TOOLS_DIR}"
- /bin/tar -jxpf "${MODULE_INIT_TOOLS_SRCTAR}"
- [ ! -d "${MODULE_INIT_TOOLS_DIR}" ] &&
- gen_die "Module-init-tools directory ${MODULE_INIT_TOOLS_DIR} is invalid"
- cd "${MODULE_INIT_TOOLS_DIR}"
- print_info 1 'module-init-tools: >> Configuring'
-
-# if [ "${USE_DIETLIBC}" -eq '1' ]
-# then
-# extract_dietlibc_bincache
-# OLD_CC="${UTILS_CC}"
-# UTILS_CC="${TEMP}/diet/bin/diet ${UTILS_CC}"
-# fi
-
- export_utils_args
- ./configure >> ${DEBUGFILE} 2>&1 ||
- gen_die 'Configure of module-init-tools failed!'
- unset_utils_args
- print_info 1 ' >> Compiling...'
- compile_generic "all" utils
-
-# if [ "${USE_DIETLIBC}" -eq '1' ]
-# then
-# clean_dietlibc_bincache
-# UTILS_CC="${OLD_CC}"
-# fi
-
- print_info 1 ' >> Copying to cache...'
- [ -f "${TEMP}/${MODULE_INIT_TOOLS_DIR}/insmod.static" ] ||
- gen_die 'insmod.static does not exist after the compilation of module-init-tools!'
- strip "${TEMP}/${MODULE_INIT_TOOLS_DIR}/insmod.static" ||
- gen_die 'Could not strip insmod.static!'
- bzip2 "${TEMP}/${MODULE_INIT_TOOLS_DIR}/insmod.static" ||
- gen_die 'Compression of insmod.static failed!'
- [ -f "${TEMP}/${MODULE_INIT_TOOLS_DIR}/insmod.static.bz2" ] ||
- gen_die 'Could not find compressed insmod.static.bz2 binary!'
- mv "${TEMP}/${MODULE_INIT_TOOLS_DIR}/insmod.static.bz2" "${MODULE_INIT_TOOLS_BINCACHE}" ||
- gen_die 'Could not move the compressed insmod binary to the package cache!'
-
- cd "${TEMP}"
- rm -rf "${MODULE_INIT_TOOLS_DIR}" > /dev/null
- fi
-}
-
compile_devfsd() {
# I've disabled dietlibc support for the time being since the
# version we use misses a few needed system calls.