aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2008-03-13 01:33:15 +0000
committerAndrew Gaffney <agaffney@gentoo.org>2008-03-13 01:33:15 +0000
commitd176b8c10411c9da2ed8e130da8f6a5401ab1ca9 (patch)
tree52574d96bfe278f1f4d76b7ed877cf755530c414 /gen_compile.sh
parentArgh...Changing the right line helps (diff)
downloadgenkernel-d176b8c10411c9da2ed8e130da8f6a5401ab1ca9.tar.gz
genkernel-d176b8c10411c9da2ed8e130da8f6a5401ab1ca9.tar.bz2
genkernel-d176b8c10411c9da2ed8e130da8f6a5401ab1ca9.zip
Get rid of the ENABLE_PEGASOS_HACKS hacks
Add INTEGRATED_INITRAMFS option to optionally insert the generated initramfs directly into the kernel image Change default build order to build the kernel last to facilitate the INTEGRATED_INITRAMFS option Add GENZIMAGE option and change various checks from ENABLE_PEGASOS_HACKS to GENZIMAGE git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@631 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'gen_compile.sh')
-rw-r--r--gen_compile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gen_compile.sh b/gen_compile.sh
index a200ac4..57a093e 100644
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -332,7 +332,7 @@ compile_kernel() {
"System.map" \
"System.map-${KNAME}-${ARCH}-${KV}"
- if [ "${ENABLE_PEGASOS_HACKS}" = 'yes' ]
+ if isTrue "${GENZIMAGE}"
then
copy_image_with_preserve "kernelz" \
"${KERNEL_BINARY_2}" \
@@ -343,7 +343,7 @@ compile_kernel() {
gen_die "Could not copy the kernel binary to ${TMPDIR}!"
cp "System.map" "${TMPDIR}/System.map-${KNAME}-${ARCH}-${KV}" ||
gen_die "Could not copy System.map to ${TMPDIR}!"
- if [ "${ENABLE_PEGASOS_HACKS}" = 'yes' ]
+ if isTrue "${GENZIMAGE}"
then
cp "${KERNEL_BINARY_2}" "${TMPDIR}/kernelz-${KV}" ||
gen_die "Could not copy the kernelz binary to ${TMPDIR}!"